diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-25 01:24:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-25 01:24:20 -0400 |
commit | 99b59f2d62a8e431d84a469ab31a8da101333b26 (patch) | |
tree | 45c615b10b350072ea1bdfea54c9f4eca3aa8b72 /doc | |
parent | f8180391408d171b4ddba463e168baa21a5f6228 (diff) | |
download | ikiwiki-99b59f2d62a8e431d84a469ab31a8da101333b26.tar ikiwiki-99b59f2d62a8e431d84a469ab31a8da101333b26.tar.gz |
toggle: Fix incompatability between javascript and webkit.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/toggle_fails_on_Safari.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/toggle_fails_on_Safari.mdwn b/doc/bugs/toggle_fails_on_Safari.mdwn index 12fca7084..a756ce815 100644 --- a/doc/bugs/toggle_fails_on_Safari.mdwn +++ b/doc/bugs/toggle_fails_on_Safari.mdwn @@ -14,3 +14,13 @@ Looking at the Safari Web Inspector, it believes there is a parse error on line 47 function getElementsByClass(class) { SyntaxError: Parse error 48 var ret = new Array(); + +> Reproduced in epiphany-webkit on debian. +> +> Also noticed something interesting when I opened the page in vim. It +> highlighted the "class" like a type definition, not a variable. Sure +> enough, replacing with "c" fixed it. +> +> I wonder if webkit is actually in the right here, and using a reseved +> word like, presumably, "class" as a variable name is not legal. As I try +> to ignore javascript as much as possible, I can't say. [[done]] --[[Joey]] |