Closed jonathanKingston closed 8 years ago
lib/app.js
is only loaded in the iframe we remove so it shouldn't cause any troubles.
And looks like this should do the trick :)
Can you rename eventStore
to something a little less generic (kiteEventStore
maybe) and add a small comment explaining why we do this dance?
Then this should be good to go!
@etiennesegonzac should be ok now. Was considering a window.kite
object as a parent but that can always be added in later I guess.
@etiennesegonzac I'm not seeing the same issues with
lib/app.js
however if that happens this method should likely be an import to both files.