Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YUI({
- debug: true,
- groups: {
- app: {
- combine: false,
- base: "src/",
- modules: {
- module1: {
- path: "module1.js",
- requires: ["module2"]
- },
- module2: {
- path: "module2.js",
- }
- }
- }
- }
- }).use("module1", "module2", function(Y) {
- //JS Code
- });
Add Comment
Please, Sign In to add comment