Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <!doctype html> |
| 2 | <head> |
||
| 3 | <meta charset="utf-8"> |
||
| 4 | <title>morris.js tests</title> |
||
| 5 | <link rel="stylesheet" href="../bower_components/mocha/mocha.css" type="text/css" media="screen" /> |
||
| 6 | <link rel="stylesheet" href="../morris.css" type="text/css" media="screen" /> |
||
| 7 | <!-- jQuery packaging changed for 2.1.0, so try to load both paths, one will work. --> |
||
| 8 | <script src="../bower_components/jquery/dist/jquery.js"></script> |
||
| 9 | <script src="../bower_components/jquery/jquery.js"></script> |
||
| 10 | <script type="text/javascript" src="../bower_components/raphael/raphael-min.js"></script> |
||
| 11 | </head> |
||
| 12 | <body> |
||
| 13 | <div id="mocha"></div> |
||
| 14 | |||
| 15 | <script type="text/javascript" src="../bower_components/mocha/mocha.js"></script> |
||
| 16 | <script type="text/javascript" src="../bower_components/chai/chai.js"></script> |
||
| 17 | <script type="text/javascript" src="../bower_components/chai-jquery/chai-jquery.js"></script> |
||
| 18 | <script type="text/javascript" src="../bower_components/sinon/index.js"></script> |
||
| 19 | <script type="text/javascript" src="../bower_components/sinon-chai/lib/sinon-chai.js"></script> |
||
| 20 | <script> |
||
| 21 | mocha.setup('bdd'); |
||
| 22 | should = chai.should(); |
||
| 23 | </script> |
||
| 24 | |||
| 25 | <script type="text/javascript" src="../morris.js"></script> |
||
| 26 | <script type="text/javascript" src="../build/spec.js"></script> |
||
| 27 | <div id="test" style="width: 400px; height: 200px;"></div> |
||
| 28 | <script> |
||
| 29 | if (navigator.userAgent.indexOf('PhantomJS') < 0) { |
||
| 30 | mocha.run(); |
||
| 31 | } |
||
| 32 | </script> |
||
| 33 | </body> |
||
| 34 | </html> |