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:
Kartik Mistry
2016-09-26 10:38:49 +05:30
committed by Amire80
parent 4b5bbcaf5b
commit 475c8a87d7
10 changed files with 105 additions and 92 deletions

View File

@@ -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;
}