Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Exception in Chrome, FireFox, and IE : Unexpected Token #137

Open
CatOnMars opened this issue Jun 6, 2013 · 0 comments
Open

Exception in Chrome, FireFox, and IE : Unexpected Token #137

CatOnMars opened this issue Jun 6, 2013 · 0 comments

Comments

@CatOnMars
Copy link

When the iframe is being loaded, Chrome and Firefox, IE all throw exceptions: unexpected token ILLEGAL

This is happening due to using numerical ID as function name prefix.

// Register a uniquely-named load event callback for this frame.
ExternalInterface.addCallback(_frameId + "_load", handleFrameLoad);

it results in illegal javascript function name
"0_load" "1_load" "2_load" ... etc.
thus preveting loading function from execution.

Hope this could be fixed.
Thanks: )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant