]> git.pond.sub.org Git - eow/blobdiff - static/dojo-release-1.1.1/util/doh/_rhinoRunner.js
Replace Dojo with jQuery
[eow] / static / dojo-release-1.1.1 / util / doh / _rhinoRunner.js
diff --git a/static/dojo-release-1.1.1/util/doh/_rhinoRunner.js b/static/dojo-release-1.1.1/util/doh/_rhinoRunner.js
deleted file mode 100644 (file)
index ae47597..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-if(this["dojo"]){
-       dojo.provide("doh._rhinoRunner");
-}
-
-doh.debug = print;
-
-// Override the doh._report method to make it quit with an 
-// appropriate exit code in case of test failures.
-(function(){
-       var oldReport = doh._report;
-       doh._report = function(){
-               oldReport.apply(doh, arguments);
-               if(this._failureCount > 0 || this._errorCount > 0){
-                       quit(1);
-               }
-       }
-})();