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

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