[Checkins] SVN: z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt Language and grammar. Mention an unstated assumption explicitly. Oh, look --
Marius Gedminas
marius at pov.lt
Sun Dec 19 15:31:41 EST 2010
Log message for revision 119010:
Language and grammar. Mention an unstated assumption explicitly. Oh, look --
it fails.
Changed:
U z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt
-=-
Modified: z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt
===================================================================
--- z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt 2010-12-19 20:07:30 UTC (rev 119009)
+++ z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt 2010-12-19 20:31:40 UTC (rev 119010)
@@ -228,8 +228,8 @@
The TALES Expression
~~~~~~~~~~~~~~~~~~~~
-What would be a Zope-based templating language without TALES expressions. This
-is particularly useful, if you want create absolute URLs and other dynamic
+What would be a Zope-based templating language without TALES expressions? This
+is particularly useful, if you want to create absolute URLs and other dynamic
bits based on the request and the context:
>>> import zope.interface
@@ -252,8 +252,8 @@
Custom ZRT Command
~~~~~~~~~~~~~~~~~~
-We can create custom zrt command, for this we should register
-named IZRTCommandFactory utility
+We can create custom ZRT commands. For this we should register
+a named IZRTCommandFactory utility
>>> import re
>>> from zope import interface
@@ -290,6 +290,7 @@
... /* zrt-replace: "../img1" "++resource++/img" */
... /* zrt-replace: "fontFamily" "Arial, Tahoma" */
... /* zrt-mycommand: */
+ ... /* oh, and we're testing that when the file changes, it is reloaded */
... h1 {
... color: color1;
... font: fontFamily;
@@ -304,6 +305,7 @@
... ''')
>>> print css.GET()
+ /* oh, and we're testing that when the file changes, it is reloaded */
h1 {
color: red;
font: Arial, Tahoma;
More information about the checkins
mailing list