Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Framework.Control.Head, AddScript check for duplicate

edited September 2007 in Vanilla 1.0 Help
I'm just wondering if Framework.Control.Head->AddScript(), and possibly ->AddStyleSheet(), should check to see if the script or stylesheet your trying to add has been added already? Needing prototype and scriptaculous for an extension and including them twice would be senseless, of course you could always check to see if it has been added manually, but i think maybe those functions should force one include per file.

Comments

  • added to the bug tracker: http://lussumo.com/bugs/discussion/25/remove-duplicate-values-in-headscripts-and-headstylesheets/
This discussion has been closed.