Sunday, March 23, 2008

IBRPG progress - loading the loader...

I had a minor breakthrough today, and another testament to the power of YUI. I managed to create a single js file that you can include on your page, which will "bootstrap" the YUI loader code. This in turn loads my custom IBRG js code that simply registers itself and its dependencies on YUI like "container" and "event". It's amazing. All I need to do now if I need to pull in more code is just either add it as a requirement in my ibrpg config for loader, or create a new config if it's a special file just for me. Loader rocks!

I even get a callback so that I can start up the IBRPG stuff when everything is loaded.

AddThis Social Bookmark Button

0 Comments:

Post a Comment

<< Home