UNPKG

grunt-doctrine

Version:

Grunt plugin to convert doctrine xml annotations into backbone models and collections. Useful in conjunction with doctrine apigility. Includes option to scaffold an entire BBB application

53 lines (47 loc) 1.35 kB
<!DOCTYPE HTML> <html> <head> <title>Backbone-relational Test Suite</title> <link rel="stylesheet" href="./lib/qunit.css" type="text/css" media="screen" /> <script type="text/javascript" src="./lib/qunit.js"></script> <script type="text/javascript" src="./lib/require.js"></script> <script type="text/javascript"> QUnit.config.urlConfig.push({ id: 'master', label: 'Backbone+Underscore master', tooltip: 'Load Backbone and Underscore master, instead of using the local copies.' }); var sources; if ( QUnit.urlParams.master ) { sources = { 'jquery': 'lib/jquery-1.9.1', 'underscore': 'https://rawgithub.com/jashkenas/underscore/master/underscore', 'backbone': 'https://rawgithub.com/jashkenas/backbone/master/backbone', 'backbone-relational': '../backbone-relational' } } else { sources = { 'jquery': './lib/jquery-1.9.1', 'underscore': './lib/underscore', 'backbone': './lib/backbone', 'backbone-relational': '../backbone-relational' } } // Tests are loaded async, so wait for them to load before starting. QUnit.config.autostart = false; require.config({ paths: sources }); require( [ 'backbone-relational' ], function() { require( [ 'tests' ], function() { QUnit.start(); }); }); </script> </head> <body> <div id="qunit"></div> <div id="qunit-fixture"></div> </body> </html>