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 2011/02/24 23:47:03 UTC

svn commit: r1074335 - /incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js

Author: rgardler
Date: Thu Feb 24 22:47:02 2011
New Revision: 1074335

URL: http://svn.apache.org/viewvc?rev=1074335&view=rev
Log:
remove username code - not used in the basic widget template

Modified:
    incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js

Modified: incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js?rev=1074335&r1=1074334&r2=1074335&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js (original)
+++ incubator/wookie/trunk/widgets/widget-template/basic/scripts/ui.js Thu Feb 24 22:47:02 2011
@@ -15,8 +15,6 @@
  * limitations under the License.
  */
 
-var username="FIXME: set username";
-
 /**
  * Helper methods for manipulating the widget UI.
  */
@@ -42,14 +40,3 @@ function wookieShowMain(event) {
 	elemContent.style.display="block";
 	elemSettings.style.display="none";	
 }
-
-// Functions below this line are for demonstration purposes only and should be removed or
-// replaced in production widgets
-
-/*
- * Set the content of the homepage.
- */
-function setContent() {
-    var text = dwr.util.getValue("wookie-template-content");
-    text = dwr.util.escapeHtml(text + "<br/><sub>Set by " + username + "</sub>");
-}
\ No newline at end of file