combo_template.html revision d5abbd43a944546d605184b6fdc0b543be31b7c5
0N/A<!doctype html>
2362N/A<html>
0N/A<head>
0N/A <title>Combo Test for {KEY}</title>
0N/A</head>
0N/A<body>
0N/A<h1>Combo Test for {KEY}</h1>
0N/A<script src="/build/yui/yui.js"></script>
0N/A<script>
0N/Avar sendResult = function(d) {
0N/A if (parent.window && parent.window._yui_result) {
0N/A parent.window._yui_result(d);
0N/A } else {
0N/A console.log('FAILED!!');
0N/A console.log(d);
0N/A }
0N/A};
0N/Atry {
2362N/A YUI({
2362N/A useBrowserConsole: false,
2362N/A combine: true,
0N/A //allowRollup: false,
0N/A comboBase: 'http://127.0.0.1:5000/combo?',
0N/A root: 'build/'
0N/A }).use('{KEY_USE}', function(Y) {
0N/A sendResult({
0N/A name: '{KEY}',
0N/A result: Y.Env._missed,
0N/A err: null
0N/A });
0N/A });
0N/A} catch (e) {
0N/A sendResult({
0N/A name: '{KEY}',
0N/A result: [],
0N/A err: e
0N/A });
0N/A}
0N/AsetTimeout(function() {
0N/A sendResult({
0N/A name: '{KEY}',
0N/A result: [],
0N/A err: 'Module failed to load, error from timeout'
0N/A });
0N/A}, 5000);
window.onerror = function(e) {
sendResult({
name: '{KEY}',
result: [],
err: e
});
}
</script>
</body>
</html>