[Checkins] SVN: z3c.javascript/trunk/src/z3c/javascript/mochikit/
added conditional resourcelibrary support
Bernd Dorn
bernd.dorn at fhv.at
Sat May 20 09:12:55 EDT 2006
Log message for revision 68196:
added conditional resourcelibrary support
Changed:
U z3c.javascript/trunk/src/z3c/javascript/mochikit/README.txt
U z3c.javascript/trunk/src/z3c/javascript/mochikit/configure.zcml
-=-
Modified: z3c.javascript/trunk/src/z3c/javascript/mochikit/README.txt
===================================================================
--- z3c.javascript/trunk/src/z3c/javascript/mochikit/README.txt 2006-05-20 13:08:48 UTC (rev 68195)
+++ z3c.javascript/trunk/src/z3c/javascript/mochikit/README.txt 2006-05-20 13:12:54 UTC (rev 68196)
@@ -5,5 +5,8 @@
This package registers the mochikit javascript library as a browser
resource called `MochiKit.js`.
+Additionally if zc.resourcelibrary is installed it also registers a
+resourcelibrary called 'z3c.javascript.mochikit'.
+
See: http://www.mochikit.com/
Modified: z3c.javascript/trunk/src/z3c/javascript/mochikit/configure.zcml
===================================================================
--- z3c.javascript/trunk/src/z3c/javascript/mochikit/configure.zcml 2006-05-20 13:08:48 UTC (rev 68195)
+++ z3c.javascript/trunk/src/z3c/javascript/mochikit/configure.zcml 2006-05-20 13:12:54 UTC (rev 68196)
@@ -8,4 +8,12 @@
file="src/packed/MochiKit/MochiKit.js"
/>
+ <configure zcml:condition="have zc.resourcelibrary"
+ xmlns:zcml="http://namespaces.zope.org/zcml">
+ <resourceLibrary name="z3c.javascript.mochikit">
+ <directory source="src/packed/MochiKit" include="MochiKit.js"/>
+ </resourceLibrary>
+ </configure>
+
+
</configure>
More information about the Checkins
mailing list