| <!DOCTYPE html> |
| <html> |
| |
| <head> |
| <title id="titleId">Asynchronous module tests</title> |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen" /> |
| <script type="text/javascript"> |
| var require = { |
| paths: { |
| 'jquery': '../../main/java/org/apache/wicket/resource/jquery/jquery-'+location.search.substring(1), // no .js extension |
| 'Wicket': '../../main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery', |
| "qunit": "qunit/qunit" |
| }, |
| shim: { |
| 'Wicket': { |
| deps: ['jquery'], |
| exports: 'Wicket' |
| } |
| } |
| }; |
| </script> |
| <script src="amd/require.js" type="text/javascript"></script> |
| |
| <!-- the module under test --> |
| <script> |
| require(["amd", "qunit"], function (amdModule, qunit) { |
| amdModule.runTests(); |
| qunit.start(); |
| } |
| ); |
| </script> |
| </head> |
| |
| <body> |
| <div id="qunit"></div> |
| |
| <div id="qunit-fixture"> |
| |
| <div id="amdElement"></div> |
| </div> |
| </body> |
| </html> |