Numerous CSS and Scripts Loading in Every View |
[eluser]xwero[/eluser]
jdfwarrior why make the controller responsible for adding files it isn't aware of in the first place? I think it's worse than Dregond's solution. In the response you quoted i stated "they also should contain as less unneeded code as possible". If you add a little more code than needed to the common file you can prevent of needing the controller to manage the inclusions. Because it's jquery Fielder should check out Lazy - The on-demand jQuery plugin loader. people write all sorts of crazy plugins for jQuery |
Welcome Guest, Not a member yet? Register Sign In |