You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2012/03/28 01:21:02 UTC
svn commit: r1306050 - /incubator/wookie/trunk/WebContent/demo/wookie.js
Author: rgardler
Date: Tue Mar 27 23:21:02 2012
New Revision: 1306050
URL: http://svn.apache.org/viewvc?rev=1306050&view=rev
Log:
allow a widget to be demoed from the URL with 'id=http://foo' - enables faster development cycle
Modified:
incubator/wookie/trunk/WebContent/demo/wookie.js
Modified: incubator/wookie/trunk/WebContent/demo/wookie.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/demo/wookie.js?rev=1306050&r1=1306049&r2=1306050&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/demo/wookie.js (original)
+++ incubator/wookie/trunk/WebContent/demo/wookie.js Tue Mar 27 23:21:02 2012
@@ -64,6 +64,11 @@ function getWidgets(){
});
Wookie.getWidgets(updateWidgets);
+
+ var id = $.getUrlVar("id");
+ if(id) {
+ showWidget(id);
+ }
}
function updateWidgets(widgets){