aboutsummaryrefslogtreecommitdiffstats
path: root/docs/component-spec/mocks.js
diff options
context:
space:
mode:
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 = [];