aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2011-03-08 20:20:49 -0800
committerMisko Hevery2011-03-08 20:23:19 -0800
commitf7a9ea6a418f6201638556b0925388e67a8b1b12 (patch)
treecf464948e8e5f2f2d4abd9baf1aa98e4cffd468b /src/Angular.js
parent627eba2b7cb2518d5e883e128d06ba25a80f9e9a (diff)
downloadangular.js-f7a9ea6a418f6201638556b0925388e67a8b1b12.tar.bz2
fix ie7 regression in jqLite which prevented
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 00188d6f..b5dc7e5e 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -89,8 +89,8 @@ var _undefined = undefined,
msie = parseInt((/msie (\d+)/.exec(lowercase(navigator.userAgent)) || [])[1], 10),
jqLite, // delay binding since jQuery could be loaded after us.
jQuery, // delay binding
- slice = Array.prototype.slice,
- push = Array.prototype.push,
+ slice = [].slice,
+ push = [].push,
error = window[$console]
? bind(window[$console], window[$console]['error'] || noop)
: noop,