1 /****************************************************************************
  2  Copyright (c) 2011-2012 cocos2d-x.org
  3  Copyright (c) 2013-2014 Chukong Technologies Inc.
  4 
  5  http://www.cocos2d-x.org
  6 
  7  Permission is hereby granted, free of charge, to any person obtaining a copy
  8  of this software and associated documentation files (the "Software"), to deal
  9  in the Software without restriction, including without limitation the rights
 10  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 11  copies of the Software, and to permit persons to whom the Software is
 12  furnished to do so, subject to the following conditions:
 13 
 14  The above copyright notice and this permission notice shall be included in
 15  all copies or substantial portions of the Software.
 16 
 17  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 18  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 19  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 20  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 21  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 22  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 23  THE SOFTWARE.
 24  ****************************************************************************/
 25 /**
 26  * The main namespace of Cocostudio, all classes, functions, properties and constants of Spine are defined in this namespace
 27  * @namespace
 28  * @name ccs
 29  */
 30 var ccs = ccs || {};
 31 
 32 /**
 33  * The same as cc.Class
 34  * @class
 35  */
 36 ccs.Class = ccs.Class || cc.Class;
 37 ccs.Class.extend = ccs.Class.extend || cc.Class.extend;
 38 
 39 /**
 40  * The same as cc.Node
 41  * @class
 42  * @extends ccs.Class
 43  */
 44 ccs.Node = ccs.Node || cc.Node;
 45 ccs.Node.extend = ccs.Node.extend || cc.Node.extend;
 46 
 47 /**
 48  * The same as cc.Sprite
 49  * @class
 50  * @extends ccs.Class
 51  */
 52 ccs.Sprite = ccs.Sprite || cc.Sprite;
 53 ccs.Sprite.extend = ccs.Sprite.extend || cc.Sprite.extend;
 54 
 55 /**
 56  * The same as cc.Component
 57  * @class
 58  * @extends ccs.Class
 59  */
 60 ccs.Component = ccs.Component || cc.Component;
 61 ccs.Component.extend = ccs.Component.extend || cc.Component.extend;
 62 
 63 /**
 64  * CocoStudio version
 65  * @constant
 66  * @type {string}
 67  */
 68 ccs.cocostudioVersion = "v1.3.0.0";