Last active
December 10, 2015 12:08
-
-
Save alex-seville/4432084 to your computer and use it in GitHub Desktop.
issue 156
change require syntax
changed syntax of all.tests.qunit
This file contains 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 characters
/// <reference path="require.js" /> | |
/// <reference path="qunit.js" /> | |
define(['../tests/base/base.qunit.test', | |
'../tests/ui/ui.qunit.test'], | |
function (){} | |
); |
This file contains 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 characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="QUnit/qunit.css"/> | |
<script type="text/javascript" src="QUnit/qunit.js"></script> | |
<script type="text/javascript" src="require.js"></script> | |
<script type="text/javascript" src="Coverage/blanket_qunit.js" data-cover-flags="ignoreError autoStart" data-cover-only="foo/"></script> | |
<script type="text/javascript"> | |
QUnit.config.autostart = false; | |
if (window.require && typeof (window.require.config) === 'function') { | |
require({ | |
baseUrl: './code/' | |
},[ | |
"code/all.tests.qunit.js" | |
],function(){ | |
QUnit.start(); | |
}); | |
} | |
</script> | |
</head> | |
<body> | |
<h1 id="qunit-header">Unit Tests</h1> | |
<h2 id="qunit-banner"></h2> | |
<h2 id="qunit-userAgent"></h2> | |
<ol id="qunit-tests"></ol> | |
<div id="qunit-fixture"></div> | |
</body> | |
</html> |
This file contains 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 characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="QUnit/qunit.css"/> | |
<script type="text/javascript" src="QUnit/qunit.js"></script> | |
<script type="text/javascript" src="require.js"></script> | |
<script type="text/javascript" src="Coverage/blanket_qunit.js" data-cover-flags="ignoreError autoStart" data-cover-only="//.*/"></script> | |
<script type="text/javascript"> | |
QUnit.config.autostart = false; | |
if (window.require && typeof (window.require.config) === 'function') { | |
require({ | |
baseUrl: './code/' | |
},[ | |
"code/all.tests.qunit.js" | |
],function(){ | |
QUnit.start(); | |
}); | |
} | |
</script> | |
</head> | |
<body> | |
<h1 id="qunit-header">Unit Tests</h1> | |
<h2 id="qunit-banner"></h2> | |
<h2 id="qunit-userAgent"></h2> | |
<ol id="qunit-tests"></ol> | |
<div id="qunit-fixture"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment