[Yanel-commits] rev 32346 - public/yanel/trunk/src/webapp/htdocs/org.wyona.yanel.gwt.accesspolicyeditor.AccessPolicyEditor

michi at wyona.com michi at wyona.com
Thu Feb 21 23:54:37 CET 2008


Author: michi
Date: 2008-02-21 23:54:37 +0100 (Thu, 21 Feb 2008)
New Revision: 32346

Added:
   public/yanel/trunk/src/webapp/htdocs/org.wyona.yanel.gwt.accesspolicyeditor.AccessPolicyEditor/init.js
Log:
init added

Added: public/yanel/trunk/src/webapp/htdocs/org.wyona.yanel.gwt.accesspolicyeditor.AccessPolicyEditor/init.js
===================================================================
--- public/yanel/trunk/src/webapp/htdocs/org.wyona.yanel.gwt.accesspolicyeditor.AccessPolicyEditor/init.js	                        (rev 0)
+++ public/yanel/trunk/src/webapp/htdocs/org.wyona.yanel.gwt.accesspolicyeditor.AccessPolicyEditor/init.js	2008-02-21 22:54:37 UTC (rev 32346)
@@ -0,0 +1,21 @@
+/*
+	This is a root namespace for Yanel UI components.
+	The component is implemented in the way that it reads configuration
+	by looking in Yanel.component.configurations[...]  
+
+	This might have been defined in other modules
+*/
+if (typeof Yanel == 'undefined') {
+  /// define the global Yanel namespace
+  Yanel = {};
+}
+
+/*
+	Function for checking if the object is an Array
+*/
+Yanel.isArray = function (obj) {
+   if (obj.constructor.toString().indexOf("Array") == -1)
+      return false;
+   else
+      return true;
+}
\ No newline at end of file



More information about the Yanel-commits mailing list