YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUICompressor
  • YUIDoc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    YUI2 Wrapper Utility (gallery-yui2)

    Last Updated: 11/19/09
    + 9 -

    Caridy Patino

    YUI Contributor

    See 3 more by this user.

    Created: 11/15/09
    Last CDN Push: 12/8/09
    Build Tag: gallery-2009.12.08-22
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.

    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.

    • Tags:
    • legacy
    • loader
    • yui2
    • caridy
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Injecting YUI 2 TabView and its dependencies in the current page.

    Code Sample

    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");
     
        });
     
    });

    Forum Posts

    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
    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits