diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-12-27 07:03:01 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-12-27 07:03:01 +0300 |
commit | 69abbb4d15f9a395597f00132a9445adc34a2044 (patch) | |
tree | 7bdf753ee0139a3518869955ce8255ff35919cd0 /libs/bower_components/angular-mocks/angular-mocks.js | |
parent | 6adf55495f00b75fc88bbcac3d4cae687e1039d1 (diff) |
minor angular update (#11021)
Diffstat (limited to 'libs/bower_components/angular-mocks/angular-mocks.js')
-rw-r--r-- | libs/bower_components/angular-mocks/angular-mocks.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/bower_components/angular-mocks/angular-mocks.js b/libs/bower_components/angular-mocks/angular-mocks.js index ab2ba68318..fc82ed866d 100644 --- a/libs/bower_components/angular-mocks/angular-mocks.js +++ b/libs/bower_components/angular-mocks/angular-mocks.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.4.10 + * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ @@ -2487,6 +2487,12 @@ if (window.jasmine || window.mocha) { window.inject = angular.mock.inject = function() { var blockFns = Array.prototype.slice.call(arguments, 0); var errorForStack = new Error('Declaration Location'); + // IE10+ and PhanthomJS do not set stack trace information, until the error is thrown + if (!errorForStack.stack) { + try { + throw errorForStack; + } catch (e) {} + } return isSpecRunning() ? workFn.call(currentSpec) : workFn; ///////////////////// function workFn() { |