[Erp5-dev] css and js list - refactoring?

bartek bartek at erp5.pl
Tue Apr 1 15:45:17 CEST 2008


Hello,

Would there be any objections agains factoring css list and js list out 
of global_definitions, into scripts like:
ERP5Site_getCSSList
ERP5Site_getJSList
?

RATIONALE: When doing experimental stuff there is often a need to add 
something there - at the moment one has to either overwrite 
global_definitions or do weird hacks to put two dtml docs of the same 
name together. Such small refactoring make it much, much easier.

Bartek

-- 
"feelings affect productivity. (...) unhappy people write worse 
software, and less of it."
Karl Fogel, "Producing Open Source Software"



More information about the Erp5-dev mailing list