-
-
Save charygao/a1d47641667850d11a57268a27f07fef to your computer and use it in GitHub Desktop.
Revisions
-
OakRaven revised this gist
Aug 29, 2012 . 1 changed file with 12 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,25 +1,22 @@ <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Jasmine Spec Runner</title> <link rel="stylesheet" type="text/css" href="spec/jasmine/jasmine.css"> <script src="spec/jasmine/jasmine.js"></script> <script src="spec/jasmine/jasmine-html.js"></script> <!-- include source files here... --> <script src="js/calculator.js"></script> <!-- include spec files here... --> <script src="spec/calculatorSpec.js"></script> </head> <body> <script type="text/javascript"> (function() { var jasmineEnv = jasmine.getEnv(); jasmineEnv.updateInterval = 1000; -
OakRaven created this gist
May 6, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Jasmine Spec Runner</title> <link rel="shortcut icon" type="image/png" href="spec/jasmine/jasmine_favicon.png"> <link rel="stylesheet" type="text/css" href="spec/jasmine/jasmine.css"> <script src="http://code.jquery.com/jquery.min.js"></script> <script src="spec/jasmine/jasmine.js"></script> <script src="spec/jasmine/jasmine-html.js"></script> <script src="spec/jasmine/jasmine-jquery-1.3.1.js"></script> <!-- include source files here... --> <script src="js/calculator.js"></script> <!-- include spec files here... --> <script src="spec/calculatorSpec.js"></script> </head> <body> <script type="text/javascript"> (function() { var jasmineEnv = jasmine.getEnv(); jasmineEnv.updateInterval = 1000; var trivialReporter = new jasmine.TrivialReporter(); jasmineEnv.addReporter(trivialReporter); jasmineEnv.specFilter = function(spec) { return trivialReporter.specFilter(spec); }; var currentWindowOnload = window.onload; window.onload = function() { if (currentWindowOnload) { currentWindowOnload(); } execJasmine(); }; function execJasmine() { jasmineEnv.execute(); } })(); </script> </body> </html>