Skip to content

Instantly share code, notes, and snippets.

@josephj
Created December 28, 2011 09:17
Show Gist options
  • Save josephj/1527283 to your computer and use it in GitHub Desktop.
Save josephj/1527283 to your computer and use it in GitHub Desktop.
YUI({
onCSS: function () {
alert("picker.css is loaded.");
},
modules: {
"picker-css": {
base: "http://josephj.com/lab/2011/yui3-load-css/",
path: "picker.css",
type: "css"
}
}
}).use("node-base", "picker-css", function (Y) {
alert("picker.js is loaded.");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment