aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
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,