pubnub/pubnub-api — pull request #147 by mintrigue (2012-11-19 08:25:20+00:00)
Title: Update javascript/pubnub-3.3.1.js

Modified to call ready() if the page has already been loaded when this script is added to the page.

Without this change, apps (like GWT w/ ScriptInjector) will not be able to subscribe to a channel because ready will never be called.