| 1 |
|
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 6 |
<title>Ace Unit Tests</title> |
| 7 |
<style type="text/css" media="screen"> |
| 8 |
|
| 9 |
#log .passed { |
| 10 |
color: green; |
| 11 |
} |
| 12 |
|
| 13 |
#log .failed { |
| 14 |
color: red; |
| 15 |
} |
| 16 |
|
| 17 |
#log pre.error { |
| 18 |
color: black; |
| 19 |
} |
| 20 |
</style> |
| 21 |
</head> |
| 22 |
<body> |
| 23 |
|
| 24 |
<div id="log"></div> |
| 25 |
|
| 26 |
<script src="../../demo/kitchen-sink/require.js" ></script> |
| 27 |
<script type="text/javascript"> |
| 28 |
require.config({ |
| 29 |
paths: { |
| 30 |
ace: new URL("../", location).toString() |
| 31 |
}, |
| 32 |
packages : [{ |
| 33 |
name: "asyncjs", |
| 34 |
location: "./asyncjs", |
| 35 |
main: "index" |
| 36 |
}, { |
| 37 |
name: "assert", |
| 38 |
location: "./asyncjs", |
| 39 |
main: "assert" |
| 40 |
}] |
| 41 |
}); |
| 42 |
define("amd-loader", {}) |
| 43 |
require(["ace/test/all_browser"]) |
| 44 |
</script> |
| 45 |
|
| 46 |
|
| 47 |
</body> |
| 48 |
</html> |