http://trac.tiddlywiki.org/changeset/11336
MartinBudden
2009-12-15 05:10:51 -0800 (Tue, 15 Dec 2009)
34
TiddlyWiki - added test for trim()
---------------
U Trunk/core/test/js/Strings.js
---------------
Modified: Trunk/core/test/js/Strings.js
===================================================================
--- Trunk/core/test/js/Strings.js 2009-12-15 11:25:24 UTC (rev 11335)
+++ Trunk/core/test/js/Strings.js 2009-12-15 13:10:51 UTC (rev 11336)
@@ -13,6 +13,10 @@
expected = "abcdef";
ok(actual==expected,'String trim');
+ actual = " abc def ".trim();
+ expected = "abcdef";
+ ok(actual==expected,'String trim');
+
actual = "background-color".unDash();
expected = "backgroundColor";
ok(actual==expected,'String undash');
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.