Update jquery.i18n to 8267e1dbef

Whitespace changes only

Change-Id: I150b69b5015440215573f2f40e7ac56bacea6c90
This commit is contained in:
Niklas Laxström
2016-04-15 07:48:28 +02:00
committed by Nikerabbit
parent aba4540cef
commit 07b764a11f
20 changed files with 75 additions and 75 deletions

View File

@@ -51,7 +51,7 @@
if ( !m ) {
return null;
}
if ( m[2] === undefined ) {
if ( m[ 2 ] === undefined ) {
return 'ltr';
}
return 'rtl';
@@ -72,17 +72,17 @@
* direction inference). The latter is cleaner but still not widely supported.
*/
bidi: function ( nodes ) {
var dir = strongDirFromContent( nodes[0] );
var dir = strongDirFromContent( nodes[ 0 ] );
if ( dir === 'ltr' ) {
// Wrap in LEFT-TO-RIGHT EMBEDDING ... POP DIRECTIONAL FORMATTING
return '\u202A' + nodes[0] + '\u202C';
return '\u202A' + nodes[ 0 ] + '\u202C';
}
if ( dir === 'rtl' ) {
// Wrap in RIGHT-TO-LEFT EMBEDDING ... POP DIRECTIONAL FORMATTING
return '\u202B' + nodes[0] + '\u202C';
return '\u202B' + nodes[ 0 ] + '\u202C';
}
// No strong directionality: do not wrap
return nodes[0];
return nodes[ 0 ];
}
} );
}( jQuery ) );