Closed BartChris closed 7 years ago
@BartChris: what version of Firefox does Richard have?
We can't support Safari since we don't have a practical way to test / debug in it.
@rafaelnajera He is using version 54.0.1., seems to be the latest version.
Update: Ok. now it works. It seems like the browser cache needs to be reseted. Maybe i should be more careful in using these new features in the context of DARE and rely on more stable syntax, which is supported by older versions of firefox, too.
For older browsers we might think of using a transpiler in the production system. https://babeljs.io/ On my windows machine with safari version 5.1, the browser is not supporting syntactic sugar like "class" or "const"
SyntaxError: Unexpected token 'const'
apiurl.js:19SyntaxError: Use of reserved word 'class'
Item.js:37SyntaxError: Use of reserved word 'class'
EditorBlots.js:27SyntaxError: Expected an identifier but found 'Inline' instead
EditorClipboard.js:23SyntaxError: Use of reserved word 'class'
EditorData.js:25SyntaxError: Use of reserved word 'class'
TranscriptionEditor.js:29SyntaxError: Use of reserved word 'class'
pageviewer.js:49SyntaxError: Expected an identifier but found 'langs' instead
On Richard's pc firefox and safari do not show the editor. Chrome is working as expected.
The console in firefox throws the following error:
The console in safari throws the following error: