combo_template.html revision a3eb4ece3de41a536cc59498ef19ffbab1c4dfbf
<!doctype html>
<html>
<head>
<title>Combo Test for {KEY}</title>
</head>
<body>
<h1>Combo Test for {KEY}</h1>
<script src="/build/yui/yui.js"></script>
<script>
var sendResult = function(d) {
if (parent.window && parent.window._yui_result) {
parent.window._yui_result(d);
} else {
console.log('FAILED!!');
console.log(d);
}
};
try {
YUI({
useBrowserConsole: false,
combine: true,
allowRollup: false,
comboBase: 'http://localhost:5000/combo?',
root: 'build/'
}).use('{KEY_USE}', function(Y) {
sendResult({
name: '{KEY}',
result: Y.Env._missed,
err: null
});
});
} catch (e) {
sendResult({
name: '{KEY}',
result: ['{KEY}'],
err: e
});
}
</script>
</body>
</html>