aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/exceptionHandler.js
diff options
context:
space:
mode:
authorIgor Minar2014-02-18 03:04:42 -0800
committerIgor Minar2014-02-18 10:44:48 -0800
commit481508d0e7ae9e4984ea380b9a43e589551c7a5b (patch)
tree2df21cbd83152c5e504cdc7f3b579b25bdc9fadb /src/ng/exceptionHandler.js
parent12e4d3ac4da3e7ea8d9be49764dbbc091a345bf7 (diff)
downloadangular.js-481508d0e7ae9e4984ea380b9a43e589551c7a5b.tar.bz2
style: remove ws and enfore no-trailing-ws jscs rule
Diffstat (limited to 'src/ng/exceptionHandler.js')
-rw-r--r--src/ng/exceptionHandler.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/exceptionHandler.js b/src/ng/exceptionHandler.js
index 342f38fc..8899bf39 100644
--- a/src/ng/exceptionHandler.js
+++ b/src/ng/exceptionHandler.js
@@ -9,12 +9,12 @@
* Any uncaught exception in angular expressions is delegated to this service.
* The default implementation simply delegates to `$log.error` which logs it into
* the browser console.
- *
+ *
* In unit tests, if `angular-mocks.js` is loaded, this service is overridden by
* {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.
*
* ## Example:
- *
+ *
* ```js
* angular.module('exceptionOverride', []).factory('$exceptionHandler', function () {
* return function (exception, cause) {
@@ -23,7 +23,7 @@
* };
* });
* ```
- *
+ *
* This example will override the normal action of `$exceptionHandler`, to make angular
* exceptions fail hard when they happen, instead of just logging to the console.
*