Skip to content

Commit

Permalink
fix(angular1-router): add missing wrapper methods
Browse files Browse the repository at this point in the history
Closes #6763
Closes #6861
Closes #6861
  • Loading branch information
petebacondarwin authored and IgorMinar committed Feb 9, 2016
1 parent 7e0f02f commit 55122cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/angular1_router/lib/facades.es5
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ var StringMapWrapper = {

var List = Array;
var ListWrapper = {
toJSON: function(l) {
return JSON.stringify(l);
},

clear: function (l) {
l.length = 0;
},
Expand Down Expand Up @@ -247,6 +251,10 @@ var ListWrapper = {
};

var StringWrapper = {
charCodeAt: function(s, i) {
return s.charCodeAt(i);
},

equals: function (s1, s2) {
return s1 === s2;
},
Expand Down

0 comments on commit 55122cd

Please sign in to comment.