mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
44 lines
1.2 KiB
HTML
44 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Lo-Dash Test Suite</title>
|
|
<link rel="stylesheet" href="../vendor/qunit/qunit/qunit.css">
|
|
</head>
|
|
<body>
|
|
<h1 id="qunit-header">Lo-Dash Test Suite</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<div id="qunit-testrunner-toolbar"></div>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<script src="../vendor/qunit/qunit/qunit.js"></script>
|
|
<script>var _2, _3, _ = 1;</script>
|
|
<script src="../lodash.js"></script>
|
|
<script src="../vendor/requirejs/require.js"></script>
|
|
<script>
|
|
if (/[?&]norequire=true(?:&|$)/.test(location.search)) {
|
|
require = define = null;
|
|
document.write('<script src="test.js"><\/script>');
|
|
}
|
|
else {
|
|
require({
|
|
'baseUrl': '../vendor/requirejs/',
|
|
'urlArgs': 't=' + (+new Date),
|
|
'paths': {
|
|
'lodash': '../../lodash',
|
|
'underscore': './../../lodash'
|
|
}
|
|
},
|
|
['lodash', 'underscore'], function(lodash, lodashAsUnderscore) {
|
|
_2 = lodash.noConflict();
|
|
_2.moduleName = 'lodash';
|
|
|
|
_3 = lodashAsUnderscore.noConflict();
|
|
_3.moduleName = 'underscore';
|
|
|
|
require(['test.js']);
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |