Author: zhen
Date: Mon Jan 14 13:37:31 2008
New Revision: 611944
URL: http://svn.apache.org/viewvc?rev=611944&view=rev
Log:
Added checks for the global variable "gadgets".
Modified:
incubator/shindig/trunk/features/dynamic-height/dynamic-height.js
incubator/shindig/trunk/features/settitle/settitle.js
Modified: incubator/shindig/trunk/features/dynamic-height/dynamic-height.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/dynamic-height/dynamic-height.js?rev=611944&r1=611943&r2=611944&view=diff
==============================================================================
--- incubator/shindig/trunk/features/dynamic-height/dynamic-height.js (original)
+++ incubator/shindig/trunk/features/dynamic-height/dynamic-height.js Mon Jan
14 13:37:31 2008
@@ -21,6 +21,7 @@
* to change the height of a gadget dynamically.
*/
+var gadgets = gadgets || {};
gadgets.Window = gadgets.Window || {};
/**
Modified: incubator/shindig/trunk/features/settitle/settitle.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?rev=611944&r1=611943&r2=611944&view=diff
==============================================================================
--- incubator/shindig/trunk/features/settitle/settitle.js (original)
+++ incubator/shindig/trunk/features/settitle/settitle.js Mon Jan 14 13:37:31
2008
@@ -21,6 +21,7 @@
* to set the title of a gadget dynamically.
*/
+var gadgets = gadgets || {};
gadgets.Window = gadgets.Window || {};
/**