Jerome Velociter wrote:
Sergiu Dumitriu wrote:
Jerome Velociter wrote:
We should decide on which way we want to include our JS/CSS in templates. I'd say only with (js|ss)fx plugin is ok.
I don't know, this will create a stronger dependency on the plugin. Are we 100% sure we want that?
I guess that if a sysadmin decides to remove the js plugins, then he can also replace these calls with <script> tags, too, so I don't think that this is a severe problem. using jsfx seems better to me, too.
Also, with jsfx is the order in which the resulting script tags are written down deterministic ? Is it First In First Out ? If not then it's probably too dangerous.
It uses a Set interface, which internally is a LinkedHashSet. From the javadoc: "This linked list defines the iteration ordering, which is the order in which elements were inserted into the set (insertion-order). Note that insertion order is not affected if an element is re-inserted into the set." So the order is right. -- Sergiu Dumitriu http://purl.org/net/sergiu/