json-ld.org icon indicating copy to clipboard operation
json-ld.org copied to clipboard

Framing document does not render correct in Safari

Open azaroth42 opened this issue 7 years ago • 5 comments

The CSS/JS does not render in safari, with the error: Cannot declare a const variable twice: 'e'.

azaroth42 avatar Nov 29 '17 19:11 azaroth42

Which URL in particular? Which version of safari?

https://json-ld.org/spec/latest/json-ld-framing/ seems to load fine on 11.0.1.

davidlehn avatar Nov 29 '17 19:11 davidlehn

That URL in Safari 10.1.2 generates this rendering:

screen shot 2017-11-29 at 11 49 22 am

azaroth42 avatar Nov 29 '17 19:11 azaroth42

I don't know how to run an older version. Someone still on 10.1.2, please investigate.

davidlehn avatar Nov 29 '17 20:11 davidlehn

I've loaded this spec on most versions of Safari, and haven't seen such an issue; perhaps there' some issue with a cached version of ReSpec; you might try clearing your cache and loading again.

Failing that, can you use the developer console to find out where the error is detected?

gkellogg avatar Nov 30 '17 01:11 gkellogg

Sure--the error happens in the first line of the minified respec javascript, as hosted at https://www.w3.org/Tools/respec/respec-w3c-common.

Happens even with a clean cache on my machine.

workergnome avatar Dec 01 '17 00:12 workergnome