shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsapu...@apache.org
Subject svn commit: r1212705 - /shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js
Date Sat, 10 Dec 2011 01:05:49 GMT
Author: hsaputra
Date: Sat Dec 10 01:05:49 2011
New Revision: 1212705

URL: http://svn.apache.org/viewvc?rev=1212705&view=rev
Log:
Cleanup, rename var name

Modified:
    shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js

Modified: shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js
URL: http://svn.apache.org/viewvc/shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js?rev=1212705&r1=1212704&r2=1212705&view=diff
==============================================================================
--- shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js (original)
+++ shindig/trunk/content/samplecontainer/examples/commoncontainer/assembler.js Sat Dec 10
01:05:49 2011
@@ -87,10 +87,10 @@ CommonContainer.init = function() {
 CommonContainer.renderGadget = function(gadgetURL, gadgetId) {
 	//going to hardcode these values for width.
     var el = document.getElementById('gadget-site-' + gadgetId);
-    var parms = {};
-    parms[osapi.container.RenderParam.WIDTH] = '100%';
+    var params = {};
+    params[osapi.container.RenderParam.WIDTH] = '100%';
 	var gadgetSite = CommonContainer.newGadgetSite(el);
-	CommonContainer.navigateGadget(gadgetSite, gadgetURL, {}, parms);
+	CommonContainer.navigateGadget(gadgetSite, gadgetURL, {}, params);
 	return gadgetSite;
 
 };



Mime
View raw message