mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
50 lines
1.2 KiB
HTML
50 lines
1.2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Backbone Test Suite</title>
|
|
<link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
|
|
<script type="text/javascript" src="vendor/json2.js"></script>
|
|
<script type="text/javascript" src="vendor/qunit.js"></script>
|
|
<script type="text/javascript" src="vendor/require.js"></script>
|
|
<script>
|
|
// Tests are loaded async, so wait for them
|
|
// to load before starting.
|
|
QUnit.config.autostart = false;
|
|
|
|
require.config({
|
|
paths: {
|
|
'jquery': 'vendor/jquery',
|
|
'underscore': 'vendor/underscore',
|
|
'backbone': '../backbone'
|
|
}
|
|
});
|
|
|
|
var root = this;
|
|
|
|
require(['backbone'], function(Backbone) {
|
|
require([
|
|
'environment',
|
|
'noconflict',
|
|
'events',
|
|
'model',
|
|
'collection',
|
|
'router',
|
|
'view',
|
|
'sync'
|
|
], function() {
|
|
QUnit.start();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1 id="qunit-header">Backbone Test Suite</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests"></ol>
|
|
<br /><br />
|
|
<h1 id="qunit-header"><a href="#">Backbone Speed Suite</a></h1>
|
|
<div id="jslitmus_container" style="margin: 20px 10px;"></div>
|
|
</body>
|
|
</html>
|