Wednesday, July 2, 2008

Not Sure ...

Not sure if Ajaxian gets it right here when comparing modules.js to YUI

"Compared to YUI Loader

YUI Loader uses a static dependency table to ensure that YUI modules
are loaded in the correct order. This means that third party modules
have to monkey patch this table if they have inter-module
dependencies. It's similar to modules.js in that it uses XHR."

I have build a perl modules loader based on YUI Loader, and although I do notice some dependency issues, it is perfectly possible to setup dependencies with monkeying around with YUI's dependency table. Possible they were looking at an old version?

I have noticed that I have to specify prototype separate though. It seems it must be included first within the "requires" array property.

Blogged with the Flock Browser

No comments: