-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: (intermediate value).toLowerCase is not a function #12
Comments
Chrome 64 says: Uncaught TypeError: (e.className || "").toLowerCase is not a function
at element_loaded (corner.min.js:1)
at element_loaded_wrapper (corner.min.js:1)
at NodeList.forEach (<anonymous>)
at itar (corner.min.js:1)
at corner.min.js:1
at Array.forEach (<anonymous>)
at itar (corner.min.js:1)
at MutationObserver.observe.childList (corner.min.js:1) |
Hello! Is it happening in some exact page/domain or all across the internet? |
@Jabher Only tested on localhost. I found some similar issues on SO: Maybe the issue here also has to do with the automatic semicolon insertion ...
|
No, it's different. Can you please catch an error with the debugger and show what inside an "e"? Or, you can create some test page so I can debug it. |
I'm having this issue in a project as well. I found that if an SVG is parsed, the property className is actually an object not a string. I have a potential fix in #14 |
Issue
Error message inside Firefox console:
TypeError: (intermediate value).toLowerCase is not a function
.The message appears on every pageload. Independent of any use of
directive()
.Just because the browser is loading the
corner.js
orcorner.min.js
.The responsible line of code is:
cornerjs/build/corner.js
Line 748 in 1f4ffd1
My setup
corner.js 0.9.3
installed through YarnFirefox Developer Edition 60.0b5 on Win7 32bit WAMP-Server
The text was updated successfully, but these errors were encountered: