r9662 - helma-ng/trunk/apps/demo

[email protected] Wed, 22 Apr 2009 22:30:49 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090422203049.E72263D0D6@mia>
Author: hannes
Date: 2009-04-22 22:30:49 +0200 (Wed, 22 Apr 2009)
New Revision: 9662

Modified:
   helma-ng/trunk/apps/demo/actions.js
   helma-ng/trunk/apps/demo/webmodule.js
Log:
Remove the word "Demo" from page titles

Details at http://dev.helma.org/trac/helma/changeset/9662

Modified: helma-ng/trunk/apps/demo/actions.js
===================================================================
--- helma-ng/trunk/apps/demo/actions.js	2009-04-22 20:30:48 UTC (rev 9661)
+++ helma-ng/trunk/apps/demo/actions.js	2009-04-22 20:30:49 UTC (rev 9662)
@@ -21,7 +21,7 @@
 // demo for skins, macros, filters
 function skins(req) {
     return new SkinnedResponse('skins/skins.html', {
-        title: 'Skin Demo',
+        title: 'Skins',
         name: 'Luisa',
         names: ['Benni', 'Emma', 'Luca', 'Selma']
     });
@@ -38,7 +38,7 @@
             log.error(e, e.rhinoException);
         }
     }
-    return new SkinnedResponse('skins/logging.html', { title: "Logging Demo" });
+    return new SkinnedResponse('skins/logging.html', { title: "Logging" });
 }
 
 // demo for continuation support
@@ -52,7 +52,7 @@
     // render intro page
     req = session.step(1).render(req, SkinnedResponse('skins/continuation.html', {
         session: session,
-        title: "Continuations Demo",
+        title: "Continuations",
         data: data
     }));
     
@@ -89,7 +89,7 @@
     req.process = function() {
         if (profilerCalled)
             return SkinnedResponse('skins/profiler.html', {
-                title: "Profiler Demo"
+                title: "Profiler"
             });
         profilerCalled = true;
         return require('helma/profiler').handleRequest(req);

Modified: helma-ng/trunk/apps/demo/webmodule.js
===================================================================
--- helma-ng/trunk/apps/demo/webmodule.js	2009-04-22 20:30:48 UTC (rev 9661)
+++ helma-ng/trunk/apps/demo/webmodule.js	2009-04-22 20:30:49 UTC (rev 9662)
@@ -5,7 +5,7 @@
 
 function index(req, res) {
     var context = {
-        title: 'Module Demo',
+        title: 'Modules',
         href: req.path
     };
     return new SkinnedResponse('skins/modules.html', context);