Friday, 22 May 2015

javascripts libraries with nameSpace


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if (typeof (xyz) == "undefined")
{ xyz = { __namespace: true }; }
xyz.ABC = {

    dataget: function () {
    },
    __namespace: true
};

if (typeof (RT) == "undefined")
{ RT = { __namespace: true }; }

if (typeof (RT.wp) == "undefined")
{ RT.wp = { __namespace: true }; }

RT.wp.Onload = {
    fuctionname: function () {

    },
    __namespace: true
};
/////////////////////////////////////////////////////////////////////////////////////

No comments:

Post a Comment