1 /****************************************************************************
  2  Copyright (c) 2010-2012 cocos2d-x.org
  3 
  4  http://www.cocos2d-x.org
  5 
  6  Permission is hereby granted, free of charge, to any person obtaining a copy
  7  of this software and associated documentation files (the "Software"), to deal
  8  in the Software without restriction, including without limitation the rights
  9  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 10  copies of the Software, and to permit persons to whom the Software is
 11  furnished to do so, subject to the following conditions:
 12 
 13  The above copyright notice and this permission notice shall be included in
 14  all copies or substantial portions of the Software.
 15 
 16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 19  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 21  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 22  THE SOFTWARE.
 23  ****************************************************************************/
 24 /**
 25  * @namespace Base namespace of Cocos GUI
 26  * @name ccui
 27  */
 28 var ccui = ccui || {};
 29 
 30 /**
 31  * The same as cc.Class
 32  * @class
 33  */
 34 ccui.Class = ccui.Class || cc.Class;
 35 ccui.Class.extend = ccui.Class.extend || cc.Class.extend;
 36 
 37 /**
 38  * that same as cc.Node
 39  * @class
 40  * @extends ccui.Class
 41  */
 42 ccui.Node = ccui.Node || cc.Node;
 43 ccui.Node.extend = ccui.Node.extend || cc.Node.extend;
 44 
 45 /**
 46  * Cocos GUI version
 47  * @type {String}
 48  */
 49 ccui.cocosGUIVersion = "CocosGUI v1.0.0.0";