Skip to content

Instantly share code, notes, and snippets.

@sergi
Created October 26, 2010 15:06
Show Gist options
  • Select an option

  • Save sergi/647065 to your computer and use it in GitHub Desktop.

Select an option

Save sergi/647065 to your computer and use it in GitHub Desktop.
YUI Module example
YUI.add("module1", function(Y) {
// Module code here
}, "0.0.1", { requires: ["module2"] });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment