[jboss-cvs] jboss-seam/examples/wiki/view/themes/default ...
Christian Bauer
christian at hibernate.org
Mon Oct 1 15:08:08 EDT 2007
User: cbauer
Date: 07/10/01 15:08:08
Modified: examples/wiki/view/themes/default template.xhtml
Log:
Tagging of content, JBSEAM-1851
Revision Changes Path
1.37 +8 -0 jboss-seam/examples/wiki/view/themes/default/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/themes/default/template.xhtml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- template.xhtml 24 Sep 2007 08:23:22 -0000 1.36
+++ template.xhtml 1 Oct 2007 19:08:08 -0000 1.37
@@ -54,6 +54,14 @@
}
}
+ function trimString(s) {
+ return s.replace(/(^\s+|\s+$)/g, "");
+ }
+
+ function stringEndsWith(s, suffix) {
+ return s.substring(s.length - suffix.length) == suffix;
+ }
+
// ###################### Popups #################################
var fadeInPopupDialog = function(hash) {
More information about the jboss-cvs-commits
mailing list