1 /** 2 * @fileOverview Monk Project Library 0.1 Alpha 1 3 * @copyright Copyright(c) 2007, Monk Project, All rights reserved. 4 * @license Code licensed under the LGPL License: 5 * 6 * @url <a href="http://monkproject.org">monkproject.org</a> 7 * @version Monk 0.1.1 8 */ 9 10 if (typeof Monk == "undefined") { 11 /** 12 * @class <p>The Monk object is the single global object used by Monk Project Library. It 13 * contains utility function for setting up namespaces, inheritance, and 14 * logging. Monk.event, Monk.component, Monk.data, and Monk.feature are namespaces 15 * created automatically for and used by the library.</p> 16 * <p>If Monk is already defined, the 17 * existing Monk object will not be overwritten so that defined 18 * namespaces are preserved.</p> 19 * @name Monk 20 * @static 21 */ 22 var Monk = {}; 23 } 24 25 // register required namespaces 26 /** 27 * @name Monk.event 28 * @namespace 29 */ 30 /** 31 * @name Monk.component 32 * @namespace 33 */ 34 /** 35 * @name Monk.data 36 * @namespace 37 */ 38 /** 39 * @name Monk.feature 40 * @namespace 41 */ 42 Workbench.namespace("Monk.framework.component","Monk.event","Monk.component","Monk.data","Monk.feature"); 43