Comments (5)
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)
from cornerjs.
Hello! Is it happening in some exact page/domain or all across the internet?
from cornerjs.
@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 ...
The ECMAScript specification has specific rules for automatic semicolon insertion, however in this case a semicolon isn't automatically inserted because the parenthesised expression that begins on the next line can be interpreted as an argument list for a function call.
This means that without that semicolon, the anonymous window.Glog function was being invoked with a function as the msg parameter, followed by (window) which was subsequently attempting to invoke whatever was returned.
from cornerjs.
No, it's different. Can you please catch an error with the debugger and show what inside an "e"?
It should be some kind of HTMLElement.
Or, you can create some test page so I can debug it.
from cornerjs.
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
from cornerjs.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cornerjs.