diff options
| author | Misko Hevery | 2010-01-25 23:49:52 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2010-01-25 23:49:52 -0800 | 
| commit | a2540fd581f35e8f79240d827d2252da5798c3a2 (patch) | |
| tree | 35d814703e9edbb2c36d0864b2f8a317bba4d830 /test/testabilityPatch.js | |
| parent | ba9eef40cfbb6cd969d566b43fd9129642d01351 (diff) | |
| download | angular.js-a2540fd581f35e8f79240d827d2252da5798c3a2.tar.bz2 | |
fixes to make it pass on IE
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 8fac7598..d9aed6f2 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -1,5 +1,3 @@ -TestCase = function(name) { return jstestdriver.testCaseManager.TestCase(name); }; -  HIDDEN = jQuery.browser.msie ?      '' :      jQuery.browser.safari ? @@ -7,7 +5,7 @@ HIDDEN = jQuery.browser.msie ?           ' style="display: none;"';  msie = jQuery.browser.msie; -alert = function(msg) {jstestdriver.console.log("ALERT: " + msg);}; +//alert = function(msg) {jstestdriver.console.log("ALERT: " + msg);};  function noop(){} @@ -35,6 +33,7 @@ function report(reportTest){    });  } +  MockLocation = function() {    this.url = "http://server";  };  | 
