Update jquery.i18n to dd14827
Changes: * b00217d: build: Remove unused 'pkg' property in Gruntfile * 5404f66: Use String#slice instead of String#substr or String#substring * b612e92: Fix \t masquerading as a space * 07c3fae: Add capability to set attributes and raw HTML Change-Id: I5352032a1cef9de9afdcc3717804c4957528dfd3
This commit is contained in:
@@ -287,9 +287,9 @@
|
||||
for ( index = 0; index < forms.length; index++ ) {
|
||||
form = forms[ index ];
|
||||
if ( explicitPluralPattern.test( form ) ) {
|
||||
formCount = parseInt( form.substring( 0, form.indexOf( '=' ) ), 10 );
|
||||
formCount = parseInt( form.slice( 0, form.indexOf( '=' ) ), 10 );
|
||||
if ( formCount === count ) {
|
||||
return ( form.substr( form.indexOf( '=' ) + 1 ) );
|
||||
return ( form.slice( form.indexOf( '=' ) + 1 ) );
|
||||
}
|
||||
forms[ index ] = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user