// 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 {
isBrowser: require.isBrowser
};
});
@@ -0,0 +1,17 @@
require({
baseUrl: "./"
},
["a"],
function(a) {
doh.register(
"isBrowser",
[
function isBrowser(t){
t.is(true, a.isBrowser);
t.is(true, requirejs.isBrowser);
}
]
);
doh.run();
}
);
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>require.js: isBrowser 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="isBrowser-tests.js"></script>
</head>
<body>
<h1>require.js: isBrowser Test</h1>
<p>Confirm isBrowser is available since it is used by others now.
Info in <a href="https://github.com/jrburke/requirejs/issues/293">Issue 293</a>.</p>
<p>Check console for messages</p>
</body>
</html>