Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Removing simulateEvent.js
  • Loading branch information...
commit c63e2ee4b7da1af5fedf00da801c7fc96c8d60f7 2 parents 8a2d01d + d27eedc
Christoph Pojer cpojer authored
20 Helpers/simulateEvent.js
... ... @@ -1,20 +0,0 @@
1   -
2   -var simulateEvent = function(type, args, callback){
3   -
4   - var called = false;
5   -
6   - args = Array.prototype.slice.call(args);
7   - args.push(function(){
8   - called = true;
9   - });
10   -
11   - Syn[type].apply(Syn, args);
12   -
13   - waitsFor(2, function(){
14   - return called;
15   - });
16   -
17   - runs(callback);
18   -
19   -};
20   -
3  buildJSTDConfiguration.js
@@ -25,7 +25,6 @@ loadSource([
25 25 'Runner/Jasmine/jasmine',
26 26 'Runner/JSTD-Adapter/src/JasmineAdapter',
27 27 'Runner/Helpers/Syn',
28   - 'Runner/Helpers/simulateEvent',
29 28 'Runner/Helpers/JSSpecToJasmine',
30 29 'Runner/Helpers/Sinon.JS/lib/sinon',
31 30 'Runner/Helpers/Sinon.JS/lib/sinon/util/fake_xml_http_request',
@@ -48,4 +47,4 @@ if (options.coverage){
48 47 }
49 48
50 49 var fs = require('fs');
51   -fs.writeFile('./jsTestDriver.conf', data);
  50 +fs.writeFile('./jsTestDriver.conf', data);
3  runner.html
@@ -13,7 +13,6 @@
13 13 <!-- Specs -->
14 14 <script type="text/javascript" src="Helpers/jasmine-html.js"></script>
15 15 <script type="text/javascript" charset="utf-8" src="Helpers/Syn.js"></script>
16   -<script type="text/javascript" charset="utf-8" src="Helpers/simulateEvent.js"></script>
17 16 <script type="text/javascript" charset="utf-8" src="Helpers/JSSpecToJasmine.js"></script>
18 17 <script type="text/javascript" charset="utf-8" src="Helpers/Loader.js"></script>
19 18 <script type="text/javascript" charset="utf-8" src="../Configuration.js"></script>
@@ -47,7 +46,7 @@
47 46 // Run the specs
48 47 jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
49 48 jasmine.getEnv().execute();
50   -
  49 +
51 50 // Change title
52 51 document.title = 'Specs for ' + Configuration.name;
53 52 };

0 comments on commit c63e2ee

Please sign in to comment.
Something went wrong with that request. Please try again.