[rhmessaging-commits] rhmessaging commits: r3192 - mgmt/trunk/wooly/python/wooly.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Fri Mar 20 16:42:33 EDT 2009
Author: justi9
Date: 2009-03-20 16:42:33 -0400 (Fri, 20 Mar 2009)
New Revision: 3192
Modified:
mgmt/trunk/wooly/python/wooly/pages.py
Log:
Add comments with the source classes to compiled css and javascript
Modified: mgmt/trunk/wooly/python/wooly/pages.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/pages.py 2009-03-20 20:41:22 UTC (rev 3191)
+++ mgmt/trunk/wooly/python/wooly/pages.py 2009-03-20 20:42:33 UTC (rev 3192)
@@ -189,8 +189,12 @@
css = strs.get(cls.__name__ + ".css")
if css:
+ writer.write("/** %s.%s **/\r\n" % \
+ (cls.__module__, cls.__name__))
+ writer.write("\r\n")
writer.write(css)
- writer.write("\r\n") # HTTP newline
+ writer.write("\r\n")
+ writer.write("\r\n")
self.__css = writer.to_string()
@@ -224,8 +228,12 @@
javascript = strs.get(cls.__name__ + ".javascript")
if javascript:
+ writer.write("/** %s.%s **/\r\n" % \
+ (cls.__module__, cls.__name__))
+ writer.write("\r\n")
writer.write(javascript)
writer.write("\r\n")
+ writer.write("\r\n")
self.__javascript = writer.to_string()
More information about the rhmessaging-commits
mailing list