summaryrefslogtreecommitdiffstats
path: root/js/vendor/angular-mocks/angular-mocks.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-03 17:33:48 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-03 17:33:48 +0100
commit90ae9ae044f2505954374fd155890315a8bb64f8 (patch)
tree7ad56a687023e64c9c7438b67768d54f58f8530a /js/vendor/angular-mocks/angular-mocks.js
parent3f85a20d371bb4b1404340628105dda76b8db1cb (diff)
udpate angularjs
Diffstat (limited to 'js/vendor/angular-mocks/angular-mocks.js')
-rw-r--r--js/vendor/angular-mocks/angular-mocks.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/vendor/angular-mocks/angular-mocks.js b/js/vendor/angular-mocks/angular-mocks.js
index 80219656e..3d33b2232 100644
--- a/js/vendor/angular-mocks/angular-mocks.js
+++ b/js/vendor/angular-mocks/angular-mocks.js
@@ -1,5 +1,5 @@
/**
- * @license AngularJS v1.3.4
+ * @license AngularJS v1.3.5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
@@ -1149,7 +1149,7 @@ function createHttpBackendMock($rootScope, $delegate, $browser) {
return function() {
return angular.isNumber(status)
? [status, data, headers, statusText]
- : [200, status, data];
+ : [200, status, data, headers];
};
}
@@ -2054,7 +2054,7 @@ angular.mock.e2e.$httpBackendDecorator =
*
* In addition to all the regular `Scope` methods, the following helper methods are available:
*/
-angular.mock.$RootScopeDecorator = function($delegate) {
+angular.mock.$RootScopeDecorator = ['$delegate', function($delegate) {
var $rootScopePrototype = Object.getPrototypeOf($delegate);
@@ -2126,7 +2126,7 @@ angular.mock.$RootScopeDecorator = function($delegate) {
return count;
}
-};
+}];
if (window.jasmine || window.mocha) {