Caridy Patino![]()
The YUI2 Wrapper is a utility to load YUI 2 modules within a YUI 3 Sandbox object. This utility is very handy for incremental migration of your legacy code.
It provides an easy way to bring YUI 2 code into YUI 3 world, relying on YUI 3 lazy loading system and organization, and providing an easy way to mashup yui2 and yui3 code. It uses a YUI 2 Loader under the hood so you don't need to worry about dependencies.
It also provides a pipeline to add custom YUI 2 modules with yui2 dependencies, and a filter by type (css or JS) during the loading process.
Check the Homepage link for more information about this module.
Injecting YUI 2 TabView and its dependencies in the current page.
YUI({
modules: {
'gallery-yui2': {
fullpath: 'http://yui.yahooapis.com/gallery-2009.12.08-22/build/gallery-yui2/gallery-yui2-min.js',
requires: ['node-base','get','async-queue'],
optional: [],
supersedes: []
}
}
}).use('gallery-yui2', function(Y) {
Y.yui2().use("tabview", function () {
var myTabs = new YAHOO.widget.TabView("demo");
});
});| Subject | Author | Date |
|---|---|---|
| Excellent!! | 11/17/09 | |
| Wow | Gabe Moothart | 11/19/09 |
| ConPA migration... | Alberto Santini | 11/25/09 |
| Re: ConPA migration... | Caridy Patino | 11/26/09 |
| Re: ConPA migration... | Alberto Santini | 11/26/09 |
| Re: ConPA migration... | Alberto Santini | 11/26/09 |
| Re: ConPA migration... | Alberto Santini | 11/26/09 |
| Issue with progressmeter | Andrew Wooldridge | 11/30/09 |
| Re: Issue with progressmeter | 11/30/09 | |
| Re: Issue with progressmeter | Caridy Patino | 11/30/09 |
© 2010 YUI Library - Site Credits