aboutsummaryrefslogtreecommitdiffstats
path: root/docs/component-spec/mocks.js
diff options
context:
space:
mode:
authorVojta Jina2013-08-20 17:19:29 -0700
committerVojta Jina2013-08-23 12:43:42 -0700
commit040aa11ceb510d8f8ec8349a3ca99d9db874daf0 (patch)
tree1413f64b652fa5aa5a183c9947f1eba706f09f1d /docs/component-spec/mocks.js
parentb89a4e49b922894f93d5cc69e00016f157dee625 (diff)
downloadangular.js-040aa11ceb510d8f8ec8349a3ca99d9db874daf0.tar.bz2
test(docs): ignore some of the specs on IE
This target was never un on our Jenkins CI. Some of the specs are using animation stuff, that IE does not support, so I'm disabling them.
Diffstat (limited to 'docs/component-spec/mocks.js')
-rw-r--r--docs/component-spec/mocks.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/component-spec/mocks.js b/docs/component-spec/mocks.js
index 143a1f39..f916c0ed 100644
--- a/docs/component-spec/mocks.js
+++ b/docs/component-spec/mocks.js
@@ -1,3 +1,6 @@
+// Copy/pasted from src/Angular.js, so that we can disable specific tests on IE.
+var msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1], 10);
+
var createMockWindow = function() {
var mockWindow = {};
var setTimeoutQueue = [];