olark/lightningjs — Issue #3: set window.id causes exception
Author: codebrew
Created: 2011-11-10 00:46:44+00:00
State: open

I've recently migrated a bookmarklet to using lightningjs and it works great except on one particular site. http://www.freepeople.com/clothes-dresses-rompers-party-dresses/ballerina-princess-dress

When invoking my deferred call the following exception is thrown "cannot call deferred method 'init' on 'undefined' ".

Ive traced it to when the site has set window.id to a non-zero value. The promiseFunctionId is getting set to this window.id value inside embed.js however this id value doesn't seem to be reflected when setting up a provide in the bootstrap.js.

I'm not sure if I'm just setting up something incorrectly or if its a bug with lightningjs.