aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 0c6d081e..0cb89bbe 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -208,27 +208,6 @@ function bind(_this, _function) {
};
}
-function bindTry(_this, _function) {
- var args = arguments,
- last = args.length - 1,
- curryArgs = slice.call(args, 2, last),
- exceptionHandler = args[last];
- return function() {
- try {
- return _function.apply(_this, curryArgs.concat(slice.call(arguments, 0, arguments.length)));
- } catch (e) {
- if (e = exceptionHandler(e)) throw e;
- }
- };
-}
-
-function errorHandlerFor(element) {
- return function(error){
- element.attr('ng-error', angular.toJson(error));
- element.addClass('ng-exception');
- };
-}
-
function outerHTML(node) {
var temp = document.createElement('div');
temp.appendChild(node);