woothemes/woocommerce — pull request #308 by joeblackwaslike (2011-12-02 08:27:53+00:00)
Title: Issue #214: A slightly different take on adding javascript to the footer

- Added option to insert javascript in footer using wordpress standard wp_register footer attribute (requires dependencies in theme also be registered).
credit: https://github.com/ralcus/woocommerce/commit/d35312fba83a8839033b71a45fedf7768269f351

- Set lightbox enabled to $lightbox_en to only have to perform one check
- Set re-register fancybox to conditional.
- Set enque fancybox conditional to check variable rather than request the same check
- Also fixed a minor typo in unrelated comment