aboutsummaryrefslogtreecommitdiffstats
path: root/src/API.js
diff options
context:
space:
mode:
authorMisko Hevery2010-01-25 23:49:52 -0800
committerMisko Hevery2010-01-25 23:49:52 -0800
commita2540fd581f35e8f79240d827d2252da5798c3a2 (patch)
tree35d814703e9edbb2c36d0864b2f8a317bba4d830 /src/API.js
parentba9eef40cfbb6cd969d566b43fd9129642d01351 (diff)
downloadangular.js-a2540fd581f35e8f79240d827d2252da5798c3a2.tar.bz2
fixes to make it pass on IE
Diffstat (limited to 'src/API.js')
-rw-r--r--src/API.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/API.js b/src/API.js
index d795f4c3..ce690ad1 100644
--- a/src/API.js
+++ b/src/API.js
@@ -319,5 +319,7 @@ defineApi('Object', [angularGlobal, angularCollection, angularObject],
['keys', 'values']);
defineApi('String', [angularGlobal, angularString], []);
defineApi('Date', [angularGlobal, angularDate], []);
+//IE bug
+angular['Date']['toString'] = angularDate['toString'];
defineApi('Function', [angularGlobal, angularCollection, angularFunction],
['bind', 'bindAll', 'delay', 'defer', 'wrap', 'compose']);