backbone-tree-model
Version:
Tree data structure using Backbone Model and Collection
30 lines (26 loc) • 836 B
HTML
<html>
<head>
<title>Mocha Tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/expect.js/index.js"></script>
<script src="../node_modules/requirejs/require.js"></script>
<script>
requirejs.config({
paths: {
jquery: '../node_modules/jquery/dist/jquery',
backbone: '../node_modules/backbone/backbone-min',
underscore: '../node_modules/underscore/underscore-min',
treemodel: '../src/backbone.treemodel',
}
});
require(['./backbone.tree_test']);
</script>
</body>
</html>