// 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,5 @@
define(function (require) {
return {
name: 'a'
};
});
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>require.js: Trailing Comma Test</title>
<script src="../doh/runner.js"></script>
<script src="../doh/_browserRunner.js"></script>
<script data-main="trailingComma" src="../../require.js"></script>
</head>
<body>
<h1>require.js: Trailing Comma Test</h1>
<p>Make sure a trailing comma in IE does not cause an error in the loader.
Info in <a href="https://github.com/jrburke/requirejs/issues/299">Issue 299</a>.</p>
<p>Check console for messages</p>
</body>
</html>
@@ -0,0 +1,13 @@
//Trailing comma is there ON PURPOSE
require(['a',], function(a) {
doh.register(
"trailingComma",
[
function trailingComma(t){
t.is('a', a.name, 'a.name is a');
}
]
);
doh.run();
});