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:
@@ -123,7 +123,7 @@
|
||||
return function () {
|
||||
var result = null;
|
||||
|
||||
if ( message.substr( pos, len ) === s ) {
|
||||
if ( message.slice( pos, pos + len ) === s ) {
|
||||
result = s;
|
||||
pos += len;
|
||||
}
|
||||
@@ -134,7 +134,7 @@
|
||||
|
||||
function makeRegexParser( regex ) {
|
||||
return function () {
|
||||
var matches = message.substr( pos ).match( regex );
|
||||
var matches = message.slice( pos ).match( regex );
|
||||
|
||||
if ( matches === null ) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user