web-apps/vendor/requirejs/tests/jquery/jqueryDynamic.html
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

39 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>jQuery+RequireJS Sample Page</title>
<script type="text/javascript" src="../doh/runner.js"></script>
<script type="text/javascript" src="../doh/_browserRunner.js"></script>
<script data-main="scripts/dynamicApp.js" src="../../require.js"></script>
<script>
var master = new doh.Deferred(),
masterCount = 0;
function readyFired() {
masterCount += 1;
if (masterCount === 3) {
master.callback(true);
}
}
doh.register(
"jqueryDynamic",
[
{
name: "jqueryDynamic",
timeout: 3000,
runTest: function() {
return master;
}
}
]
);
doh.run();
</script>
</head>
<body>
<h1>jQuery+RequireJS Test Page</h1>
<p>Tests loading of jquery plugins with require.</p>
</body>
</html>