Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index 7983957dde68ec97745d10b41242bce83d3e12ec..5074404bb13cf65750da294d7f8767387565932c 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -35,7 +35,7 @@ |
var SetFunctionName = utils.SetFunctionName; |
var StringIndexOf; |
var StringSubstr; |
-var StringSubstring = GlobalString.prototype.substring; |
+var StringSubstring; |
utils.Import(function(from) { |
ArrayJoin = from.ArrayJoin; |
@@ -44,6 +44,7 @@ |
InternalRegExpReplace = from.InternalRegExpReplace; |
StringIndexOf = from.StringIndexOf; |
StringSubstr = from.StringSubstr; |
+ StringSubstring = from.StringSubstring; |
}); |
// Utilities for definitions |