Author: dmorozov
Date: 2007-06-13 10:54:31 -0400 (Wed, 13 Jun 2007)
New Revision: 1151
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/CustomEvent.js
Log:
Fix multiple script including collisions
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/CustomEvent.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/CustomEvent.js 2007-06-13
10:38:45 UTC (rev 1150)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/CustomEvent.js 2007-06-13
14:54:31 UTC (rev 1151)
@@ -3,10 +3,11 @@
* Copyright (c) 2007 Exadel Inc.
* @author Denis Morozov <dmorozov(a)exadel.com>
*/
+ClientUILib.declarePackage("ClientUI.common.utils");
+
+if(!ClientUI.common.utils.CustomEvent) {
ClientUILib.declarePackage("ClientUI.common.utils.CustomEvent");
-if(!ClientUI.common.utils.CustomEvent.CLASSDEF) {
-
ClientUI.common.utils.CustomEvent = Class.create({
CLASSDEF: {
name: 'ClientUI.common.utils.CustomEvent'
Show replies by date