[Checkins] SVN: zope.html/branches/satchit-upgrade-ckeditor/src/zope/html/configure.zcml Use un-minified version of CKEditor library when using "dev" mode.

Satchidanand Haridas satchit at zope.com
Mon May 24 13:25:18 EDT 2010


Log message for revision 112676:
  Use un-minified version of CKEditor library when using "dev" mode.
  
  

Changed:
  U   zope.html/branches/satchit-upgrade-ckeditor/src/zope/html/configure.zcml

-=-
Modified: zope.html/branches/satchit-upgrade-ckeditor/src/zope/html/configure.zcml
===================================================================
--- zope.html/branches/satchit-upgrade-ckeditor/src/zope/html/configure.zcml	2010-05-24 17:09:46 UTC (rev 112675)
+++ zope.html/branches/satchit-upgrade-ckeditor/src/zope/html/configure.zcml	2010-05-24 17:25:17 UTC (rev 112676)
@@ -1,6 +1,7 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:zcml="http://namespaces.zope.org/zcml"
     i18n_domain="zope.html"
     >
 
@@ -73,7 +74,16 @@
 
   <resourceLibrary name="ckeditor">
     <directory
+        zcml:condition="have devmode"
         source="ckeditor"
+        include="3.2.1/ckeditor/ckeditor_source.js"
+        />
+  </resourceLibrary>
+
+  <resourceLibrary name="ckeditor">
+    <directory
+        zcml:condition="not-have devmode"
+        source="ckeditor"
         include="3.2.1/ckeditor/ckeditor.js"
         />
   </resourceLibrary>



More information about the checkins mailing list