YUI3 namespace example

How to use the YUI.namespace method

by jessekinsman

JavaScript

YUI.namespace("com.istore.ebs").testFunction = function(){
YUI().use("node",function(Y){
            alert("test");
        });
};
YUI.com.istore.ebs.testFunction();