Added minified resources
authorThierry Florac <thierry.florac@onf.fr>
Wed, 14 May 2014 15:48:09 +0200
changeset 20 7ff249908910
parent 19 dc18d0700e39
child 21 68861235109e
Added minified resources
src/ztfy/myams/__init__.py
--- a/src/ztfy/myams/__init__.py	Wed May 14 15:47:14 2014 +0200
+++ b/src/ztfy/myams/__init__.py	Wed May 14 15:48:09 2014 +0200
@@ -36,6 +36,7 @@
 bootstrap_css = Resource(library, 'css/ext/bootstrap-3.1.1.css',
                          minified='css/ext/bootstrap-3.1.1.min.css')
 bootstrap_modal_css = Resource(library, 'css/ext/bootstrap-modal.css',
+                               minified='css/ext/bootstrap-modal.min.css',
                                depends=[bootstrap_css, ])
 
 awesomefonts_css = Resource(library, 'css/ext/font-awesome-4.0.3.css',
@@ -43,6 +44,7 @@
                             depends=[bootstrap_css, ])
 
 myams_css = Resource(library, 'css/myams.css',
+                     minified='css/myams.min.css',
                      depends=[bootstrap_modal_css, awesomefonts_css])
 
 jquery = Resource(library, 'js/ext/jquery-2.1.0.js',
@@ -69,6 +71,6 @@
                      bottom=True)
 
 myams = Resource(library, 'js/myams.js',
-                 depends=[bootstrap,
-                          myams_css],
+                 minified='js/myams.min.js',
+                 depends=[bootstrap, myams_css],
                  bottom=True)