Permalink
Browse files

Merge pull request #11 from ibolmo/fix-2085-ie8-specs-fail

Removing simulateEvent.js
  • Loading branch information...
2 parents 8a2d01d + d27eedc commit c63e2ee4b7da1af5fedf00da801c7fc96c8d60f7 @cpojer cpojer committed Nov 27, 2011
Showing with 2 additions and 24 deletions.
  1. +0 −20 Helpers/simulateEvent.js
  2. +1 −2 buildJSTDConfiguration.js
  3. +1 −2 runner.html
View
20 Helpers/simulateEvent.js
@@ -1,20 +0,0 @@
-
-var simulateEvent = function(type, args, callback){
-
- var called = false;
-
- args = Array.prototype.slice.call(args);
- args.push(function(){
- called = true;
- });
-
- Syn[type].apply(Syn, args);
-
- waitsFor(2, function(){
- return called;
- });
-
- runs(callback);
-
-};
-
View
3 buildJSTDConfiguration.js
@@ -25,7 +25,6 @@ loadSource([
'Runner/Jasmine/jasmine',
'Runner/JSTD-Adapter/src/JasmineAdapter',
'Runner/Helpers/Syn',
- 'Runner/Helpers/simulateEvent',
'Runner/Helpers/JSSpecToJasmine',
'Runner/Helpers/Sinon.JS/lib/sinon',
'Runner/Helpers/Sinon.JS/lib/sinon/util/fake_xml_http_request',
@@ -48,4 +47,4 @@ if (options.coverage){
}
var fs = require('fs');
-fs.writeFile('./jsTestDriver.conf', data);
+fs.writeFile('./jsTestDriver.conf', data);
View
3 runner.html
@@ -13,7 +13,6 @@
<!-- Specs -->
<script type="text/javascript" src="Helpers/jasmine-html.js"></script>
<script type="text/javascript" charset="utf-8" src="Helpers/Syn.js"></script>
-<script type="text/javascript" charset="utf-8" src="Helpers/simulateEvent.js"></script>
<script type="text/javascript" charset="utf-8" src="Helpers/JSSpecToJasmine.js"></script>
<script type="text/javascript" charset="utf-8" src="Helpers/Loader.js"></script>
<script type="text/javascript" charset="utf-8" src="../Configuration.js"></script>
@@ -47,7 +46,7 @@
// Run the specs
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
-
+
// Change title
document.title = 'Specs for ' + Configuration.name;
};

0 comments on commit c63e2ee

Please sign in to comment.