Created
April 7, 2010 06:18
-
-
Save tivac/358594 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI({ | |
groups : { | |
googa : { | |
combine : false, | |
base : "/blog/wp-content/themes/aooga/js/lib/", | |
modules : { | |
'chiclet' : { | |
fullpath : "chiclet-lib.js", | |
requires : [ "widget", "anim-base", "anim-easing" ] | |
}, | |
'slider-plugin' : { | |
fullpath : "slider-lib.js", | |
requires : ["plugin", "node", "anim-base", "anim-easing"] | |
}, | |
'gallery-lightbox' : { | |
fullpath : "lightbox-lib.js", | |
requires : ["base", "node", "anim"] | |
} | |
} | |
} | |
} | |
}).use("node", "event-base", "slider-plugin", function(Y) { | |
// this doesn't request /blog/wp-content/themes/arenanet/js/lib/slider-lib.js, rather it requests | |
// ./slider-lib.js which 404s and then all sorts of errors appear. What is wrong here? | |
Y.one("#example").plug(Y.Plugin.Slider); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment