aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2010-07-29 12:50:14 -0700
committerMisko Hevery2010-07-29 12:54:13 -0700
commit1b768b84439e725010acc943ebfda462e49d3704 (patch)
tree06476962f7116e8c10ddb35d17c5bd3038528aaa /src/Angular.js
parent6bd8006edcbfe1dc1be8cb865fbcfe25157fe117 (diff)
downloadangular.js-1b768b84439e725010acc943ebfda462e49d3704.tar.bz2
refactored $location service so that it correctly updates under all conditions
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 32e3ccf7..80acddf0 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -300,10 +300,10 @@ function bind(_this, _function) {
} :
function() {
return _function.apply(_this, curryArgs.concat(slice.call(arguments, 0, arguments.length)));
- }
+ };
} else {
- // in IE, native methonds ore not functions and so they can not be bound (but they don't need to be)
- return function(a, b, c, d, e){ return _function(a, b, c, d, e); };
+ // in IE, native methods ore not functions and so they can not be bound (but they don't need to be)
+ return _function;
}
}