mozilla/tabzilla — pull request #48 by mjschranz (2012-11-22 15:56:31+00:00)
Title: jQuery wouldn't be added if Tabzilla was appended to the DOM after it had loaded

Right now the code that is present to add jQuery to the page if it isn't present will only fire if the Tabzilla script was included already in the DOM when the page is loading. This is because of the reliance on listening for DOMContentLoaded ( or the equivalent for older browsers ).

We don't specifically encounter this problem right now with Popcorn Maker because we only have a single template being used in our system however soon enough it will be moving back to a multiple template system and relying on people to appropriate include scripts wouldn't be fun. On our end we need to move to including Tabzilla as part of the application itself which means including the script after the DOMContentLoaded event has fired.