Opened 12 years ago
Last modified 12 years ago
#10468 confirmed Bug
[IE] Presence of CK Editor blocks scripts from properly loading with //@ sourceUrl on IE
Reported by: | David | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: | dka@… |
Description
1) On IE, go to any site; in console, type eval("slashslash@ a").
Evaluation happens properly.
1) On IE, go to http://ckeditor.com/demo; in console, type eval("slashslash@ a")
Evaluation breaks as IE tries to evaluate a and fails.
This breaks us when we attempt to load scripts since we use the slashslash@ sourceURL=xxxx.js trick to evaluate scripts in their separate files. Our current workaround is not doing this sourceUrl evaluation on IE, but it would be nice to understand why eval behaves differently with CK Editor on the page.
slash == / (for some reason, a double slash does not render in the editor)
Change History (2)
comment:1 Changed 12 years ago by
Cc: | dka@… added |
---|
comment:2 Changed 12 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.0.3 → 3.0 |
I believe this is based on this blog post: http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/
I have tried below sample code and on page where editor is used and since CKE 3.0 "foo is always undefined"
This is happening in both VKE 3.x and 4.x