Updated resources
authorThierry Florac <thierry.florac@onf.fr>
Mon, 19 Nov 2018 15:20:07 +0100
changeset 464 ae3ed52e3764
parent 463 62c7c2544601
child 465 0a21be6342aa
Updated resources
src/pyams_skin/__init__.py
--- a/src/pyams_skin/__init__.py	Mon Nov 19 15:19:48 2018 +0100
+++ b/src/pyams_skin/__init__.py	Mon Nov 19 15:20:07 2018 +0100
@@ -31,19 +31,19 @@
 
 bootstrap_theme = Resource(library, 'css/ext/bootstrap-theme.css',
                            minified='css/ext/bootstrap-theme.min.css',
-                           depends=[bootstrap_css, ])
+                           depends=(bootstrap_css,))
 
 bootstrap_modal_css = Resource(library, 'css/ext/bootstrap-modal.css',
                                minified='css/ext/bootstrap-modal.min.css',
-                               depends=[bootstrap_css, ])
+                               depends=(bootstrap_css,))
 
 awesomefonts_css = Resource(library, 'css/ext/font-awesome-4.7.0.css',
                             minified='css/ext/font-awesome-4.7.0.min.css',
-                            depends=[bootstrap_css, ])
+                            depends=(bootstrap_css,))
 
 myams_css = Resource(library, 'css/myams.css',
                      minified='css/myams.min.css',
-                     depends=[bootstrap_modal_css, awesomefonts_css])
+                     depends=(bootstrap_modal_css, awesomefonts_css))
 
 
 #
@@ -56,22 +56,22 @@
 
 jquery_ui = Resource(library, 'js/ext/jquery-ui-1.12.1.js',
                      minified='js/ext/jquery-ui-1.12.1.min.js',
-                     depends=[jquery, ],
+                     depends=(jquery,),
                      bottom=True)
 
 jquery_dataTables = Resource(library, 'js/ext/jquery-dataTables-1.9.4.js',
                              minified='js/ext/jquery-dataTables-1.9.4.min.js',
-                             depends=[jquery, ],
+                             depends=(jquery,),
                              bottom=True)
 
 jquery_dataTables_tableTools = Resource(library, 'js/ext/jquery-dataTables-tableTools.js',
                                         minified='js/ext/jquery-dataTables-tableTools.min.js',
-                                        depends=[jquery_dataTables, ],
+                                        depends=(jquery_dataTables,),
                                         bottom=True)
 
 bootstrap = Resource(library, 'js/ext/bootstrap-3.3.7.js',
                      minified='js/ext/bootstrap-3.3.7.min.js',
-                     depends=[jquery, jquery_ui, bootstrap_css, bootstrap_modal_css],
+                     depends=(jquery, jquery_ui, bootstrap_css, bootstrap_modal_css),
                      bottom=True)
 
 js_cookie = Resource(library, 'js/ext/js-cookie.js',
@@ -80,14 +80,19 @@
 
 myams_core = Resource(library, 'js/myams-core.js',
                       minified='js/myams-core.min.js',
-                      depends=[jquery, ],
+                      depends=(jquery,),
                       bottom=True)
 
 myams_js = Resource(library, 'js/myams.js',
                     minified='js/myams.min.js',
-                    depends=[bootstrap, js_cookie],
+                    depends=(bootstrap, js_cookie),
                     bottom=True)
 
+myams_plugins_loader = Resource(library, 'js/myams-plugins-loader.js',
+                                minified='js/myams-plugins-loader.min.js',
+                                depends=(myams_js,),
+                                bottom=True)
+
 
 #
 # Global resources