fix(angular1-router): add missing wrapper methods
Closes #6763 Closes #6861 Closes #6861
This commit is contained in:
parent
7e0f02f96e
commit
55122cd57a
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue