aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-15 10:55:58 -0700
committerMisko Hevery2010-10-15 10:55:58 -0700
commitde66a319b451cc0beb3e9da7657f6cc8f9733de0 (patch)
treee17453d909c778a3c7f296dbf3c70d43a81656e1 /src/Scope.js
parent7903f4d9407b0ffe478341f9f88779f34efb218e (diff)
downloadangular.js-de66a319b451cc0beb3e9da7657f6cc8f9733de0.tar.bz2
removed unneeded function rethrow from scope which was interfering with the test rethrow function
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Scope.js b/src/Scope.js
index b83d47db..c7de097b 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -100,7 +100,6 @@ function expressionCompile(exp){
return fn;
}
-function rethrow(e) { throw e; }
function errorHandlerFor(element, error) {
elementError(element, NG_EXCEPTION, isDefined(error) ? toJson(error) : error);
}