Changeset 1724:4cc223c99439 for tests/functional/lib
- Timestamp:
- 09/04/13 21:55:21 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/functional/lib/jasmine-jquery-bootstrap.js
r1602 r1724 1 1 (function() { 2 jasmine.getFixtures().fixturesPath = 'fixtures'; 2 jasmine.getFixtures().fixturesPath = 'fixtures'; 3 jasmine.getStyleFixtures().fixturesPath = '../../admin/style'; 3 4 4 5 5 var jasmineEnv = jasmine.getEnv(); 6 jasmineEnv.updateInterval = 1000; 6 7 7 8 var htmlReporter = new jasmine.HtmlReporter(); 8 9 9 10 jasmineEnv.addReporter(htmlReporter); 10 11 11 12 return htmlReporter.specFilter(spec);13 12 jasmineEnv.specFilter = function(spec) { 13 return htmlReporter.specFilter(spec); 14 }; 14 15 15 16 var currentWindowOnload = window.onload; 16 17 17 window.onload = function() { 18 if (currentWindowOnload) { 19 currentWindowOnload(); 18 window.onload = function() { 19 if (currentWindowOnload) { 20 currentWindowOnload(); 21 } 22 execJasmine(); 23 }; 24 25 function execJasmine() { 26 jasmineEnv.execute(); 20 27 } 21 execJasmine();22 };23 24 function execJasmine() {25 jasmineEnv.execute();26 }27 28 28 29 })();
Note: See TracChangeset
for help on using the changeset viewer.