app.html revision e555c9d01738735fa1493766e1c1a478e02abbc5
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test Page</title>
</head>
<body class="yui3-skin-sam">
<div id="log"></div>
<div id="test"></div>
<iframe src="app-iframe.html" id="test-iframe" style="visibility:hidden"></iframe>
<script src="/build/yui/yui.js"></script>
<script>
var Y = YUI({
allowRollup: false,
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min',
modules: {
'app-test': {
use: [
'model-test',
'model-list-test',
'router-test',
'view-test',
'view-node-map-test',
'app-base-test'
]
},
'model-test': {
fullpath: 'model-test.js',
requires: ['model', 'model-list', 'test']
},
'model-list-test': {
fullpath: 'model-list-test.js',
requires: ['model-list', 'test']
},
'router-test': {
fullpath: 'router-test.js',
requires: ['router', 'test']
},
'view-test': {
fullpath: 'view-test.js',
requires: ['model', 'model-list', 'view', 'test']
},
'view-node-map-test': {
fullpath: 'view-node-map-test.js',
requires: ['view-node-map', 'test']
},
'app-base-test': {
fullpath: 'app-base-test.js',
requires: ['app-base', 'test']
}
},
useBrowserConsole: false
}).use('app-test', 'test-console', function (Y) {
new Y.Test.Console().render('#log');
Y.Test.Runner.add(Y.AppTestSuite);
Y.Test.Runner.run();
});
</script>
</body>
</html>