diff options
| author | Igor Minar | 2011-07-01 17:37:01 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-07-01 18:17:54 -0700 | 
| commit | 30bd04feaa057c77fef031697b82721a7feb2c74 (patch) | |
| tree | 5baf6b48c9c25262c17c2eef03788592f4b98bc8 /src/angular-mocks.js | |
| parent | 25a77c58c13e4df37c29245bec0f7716e20f3c15 (diff) | |
| download | angular.js-30bd04feaa057c77fef031697b82721a7feb2c74.tar.bz2 | |
fix:exceptionHandler mock: should not specify dependencies
also added a test for this mock service
Diffstat (limited to 'src/angular-mocks.js')
| -rw-r--r-- | src/angular-mocks.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/angular-mocks.js b/src/angular-mocks.js index 916005a5..0b5c35b5 100644 --- a/src/angular-mocks.js +++ b/src/angular-mocks.js @@ -246,8 +246,8 @@ angular.service('$browser', function(){   *   * See {@link angular.mock} for more info on angular mocks.   */ -angular.service('$exceptionHandler', function(e) { -  return function(e) {throw e;}; +angular.service('$exceptionHandler', function() { +  return function(e) { throw e;};  }); | 
