// some work on style sheets

This commit is contained in:
Kevin Granger
2013-07-18 18:51:24 +02:00
parent 02921dc9d0
commit 0b4512dbcb
1654 changed files with 171753 additions and 294 deletions
@@ -0,0 +1,21 @@
define('a', {
name: 'a'
});
require(['a', 'b'], function (a, b) {
doh.register(
"requireAsync",
[
function requireAsync(t){
t.is('a', a.name);
t.is('b', b.name);
}
]
);
doh.run();
});
define('b', {
name: 'b'
});
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>require.js: require Async Test</title>
<script type="text/javascript" src="../../require.js"></script>
<script type="text/javascript" src="../doh/runner.js"></script>
<script type="text/javascript" src="../doh/_browserRunner.js"></script>
<script type="text/javascript" src="requireAsync-tests.js"></script>
</head>
<body>
<h1>require.js: require Async Test</h1>
<p>Test that a define after a require() works.</p>
<p>Check console for messages</p>
</body>
</html>