UNPKG

three-codeeditor

Version:

codeeditor for three.js

44 lines (40 loc) 1.6 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>THREE CodeEditor Tests</title> <link type="text/css" rel="stylesheet" href="../node_modules/mocha/mocha.css" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="pragma" content="no-cache" /> </head> <body> <!-- These are the external dependencies: --> <script type="text/javascript" src="../node_modules/lively.lang/lively.lang.dev.js"></script> <script type="text/javascript" src="../vendor/ace/src-noconflict/ace.js"></script> <script type="text/javascript" src="../vendor/three/three.js"></script> <script type="text/javascript" src="../vendor/three/threex.domevents.js"></script> <!-- These are the lib dependencies for the tests: --> <div id="mocha"></div> <script type="text/javascript" src="../node_modules/mocha/mocha.js"></script> <script type="text/javascript" src="../node_modules/chai/chai.js"></script> <script type="text/javascript" src="../lib/helper.js"></script> <script type="text/javascript" > mocha.setup("bdd"); var urls = [ // These are the files of this library, unpackaged, raw, virgin '../index.js', "../lib/ace-helper.js", "../lib/canvas2d.js", "../lib/mouseevents.js", "../lib/rendering.js", // The actual tests 'codeeditor-test.js' ]; loadUncached(urls, function() { mocha.checkLeaks(); if (window.mochaPhantomJS) { mochaPhantomJS.run(); } else { mocha.run(); } }); </script> </body> </html>