Dav Glass![]()
This module will aid a developer in porting from a newer YUI2 module to a YUI3 module. It mimics the YAHOO.util.Element class from 2.x.
This module contains 2 classes: Y.Port & Y.PortBase
Y.Port will attempt to create a local YAHOO object for use when porting.
Y.PortBase is the class that mimics YAHOO.util.Element.
<script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2009.11.02-20'
}).use('gallery-port', function(Y) {
//Creating the local YAHOO copy
var YAHOO = Y.Port(),
Lang = YAHOO.lang,
Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event;
//Extending
Y.extend(SimpleEditor, Y.PortBase, {
});
});No forum posts for this module.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info