Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index 7983957dde68ec97745d10b41242bce83d3e12ec..a3978493954277ae131797c1bdea1cdadd981ee9 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -34,7 +34,7 @@ var patternSymbol = utils.ImportNow("intl_pattern_symbol"); |
var resolvedSymbol = utils.ImportNow("intl_resolved_symbol"); |
var SetFunctionName = utils.SetFunctionName; |
var StringIndexOf; |
-var StringSubstr; |
+var StringSubstr = GlobalString.prototype.substr; |
var StringSubstring = GlobalString.prototype.substring; |
utils.Import(function(from) { |
@@ -43,7 +43,6 @@ utils.Import(function(from) { |
InternalRegExpMatch = from.InternalRegExpMatch; |
InternalRegExpReplace = from.InternalRegExpReplace; |
StringIndexOf = from.StringIndexOf; |
- StringSubstr = from.StringSubstr; |
}); |
// Utilities for definitions |