You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the error I get in Chromium's console: (the same error is triggered on Firefox)
Uncaught TypeError: Cannot assign to read only property 'name' of function 'e=>{
const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",a={
keyword:"after and andalso|10 band begin bnot b...<omitted>...}}'
at Object.registerLanguage (highlight.min.js:290)
at erlang.min.js:1
As far as I can tell, this is because the closure passed to registerLanguage in order to register new languages currently returns another closure whereas registerLanguage expects an object with a name property. This happens with erlang and smalltalk but I suppose it's the same thing for all the languages. I've only tried the files hosted on CDN, not sure whether it makes a difference.
The text was updated successfully, but these errors were encountered:
I'm trying out 11.3.0 and it seems impossible to load any extra language. Here's my full test page, complete with all of the boilerplate code:
Here's the error I get in Chromium's console: (the same error is triggered on Firefox)
As far as I can tell, this is because the closure passed to
registerLanguage
in order to register new languages currently returns another closure whereasregisterLanguage
expects an object with aname
property. This happens witherlang
andsmalltalk
but I suppose it's the same thing for all the languages. I've only tried the files hosted on CDN, not sure whether it makes a difference.The text was updated successfully, but these errors were encountered: