Commits

nitrogenycs  committed dacfb42

- using "all" now for all resources of a module

  • Participants
  • Parent commits 7a9e44e

Comments (0)

Files changed (3)

File js/extjs/extjs.py

 
 css = Resource(library, 'resources/css/ext-all.css')
 
-basic = GroupResource( [adapter.ext, js, css] )
+basic = all = GroupResource( [adapter.ext, js, css] )

File js/extjs/test_extjs.txt

   >>> adapter.ext.need()
   >>> extjs.js.need()
   >>> extjs.css.need()
-  >>> ux.ux.need()
+  >>> extjs.all.need()
+  >>> ux.all.need()
   >>> ux.js.need()
   >>> ux.css.need()
 

File js/extjs/ux.py

 css = Resource(library, 'examples/ux/css/ux-all.css',
                    depends = [extjs.css] )
 
-ux = GroupResource( [js, css] )
+all = GroupResource( [js, css] )
 
-basic_with_ux = GroupResource( [extjs.basic, ux] )
+basic_with_ux = GroupResource( [extjs.basic, all] )