fix(angular1-router): add missing wrapper methods

Closes #6763
Closes #6861
Closes #6861
This commit is contained in:
Peter Bacon Darwin 2016-02-01 10:05:20 +00:00 committed by Igor Minar
parent 7e0f02f96e
commit 55122cd57a
1 changed files with 8 additions and 0 deletions

View File

@ -173,6 +173,10 @@ var StringMapWrapper = {
var List = Array;
var ListWrapper = {
toJSON: function(l) {
return JSON.stringify(l);
},
clear: function (l) {
l.length = 0;
},
@ -247,6 +251,10 @@ var ListWrapper = {
};
var StringWrapper = {
charCodeAt: function(s, i) {
return s.charCodeAt(i);
},
equals: function (s1, s2) {
return s1 === s2;
},