Skip to content

Instantly share code, notes, and snippets.

@ekashida
Created August 30, 2013 16:35
Show Gist options
  • Save ekashida/6391773 to your computer and use it in GitHub Desktop.
Save ekashida/6391773 to your computer and use it in GitHub Desktop.
Inheriting default combo configs
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<script src="http://yui.yahooapis.com/3.11.0/build/yui/yui-debug.js"></script>
<script>
YUI({
comboBase: "http://l.yimg.com/zz/combo?",
root: "yui:" + YUI.version + "/",
groups: {
mjata: {
combine: true,
root: "os/mit/td/mjata-0.2.0-11/"
}
},
modules: {
"mjata-model-store": {
group: "mjata",
requires: ["event-custom"]
}
}
}).use('mjata-model-store', function (Y) {
Y.log('loaded');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment