beefproject/beef — Issue #218: Wrap window.onload inside init() function to allow for dynamic insertion and execution of hook.js
Author: passbe
Created: 2011-12-10 22:07:37+00:00
State: open

Dynamic insertion of hook.js into the DOM will not work because window.onload has already fired, therefore wrapping the window.onload functionality and calling init() will resolve this.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=234