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 cocostuidio 26 * @name ccs 27 */ 28 var ccs = ccs || {}; 29 30 /** 31 * The same as cc.Class 32 * @class 33 */ 34 ccs.Class = ccs.Class || cc.Class; 35 ccs.Class.extend = ccs.Class.extend || cc.Class.extend; 36 37 /** 38 * The same as cc.Node 39 * @class 40 * @extends ccs.Class 41 */ 42 ccs.Node = ccs.Node || cc.Node; 43 ccs.Node.extend = ccs.Node.extend || cc.Node.extend; 44 45 /** 46 * The same as cc.RBGA 47 * @class 48 * @extends ccs.Class 49 */ 50 ccs.NodeRGBA = ccs.NodeRGBA || cc.NodeRGBA; 51 ccs.NodeRGBA.extend = ccs.NodeRGBA.extend || cc.NodeRGBA.extend; 52 53 /** 54 * The same as cc.Sprite 55 * @class 56 * @extends ccs.Class 57 */ 58 ccs.Sprite = ccs.Sprite || cc.Sprite; 59 ccs.Sprite.extend = ccs.Sprite.extend || cc.Sprite.extend; 60 61 /** 62 * The same as cc.Component 63 * @class 64 * @extends ccs.Class 65 */ 66 ccs.Component = ccs.Component || cc.Component; 67 ccs.Component.extend = ccs.Component.extend || cc.Component.extend; 68 69 /** 70 * CocoStudio version 71 * @type {string} 72 */ 73 ccs.cocostudioVersion = "v1.3.0.0";