clartaq / cwiki

A personal wiki written in Clojure/Script
Other
3 stars 0 forks source link

Pervasive "TypeError: 'handleEvent' property of event listener should be callable" warnings #12

Closed clartaq closed 4 years ago

clartaq commented 4 years ago

I'm seeing a lot of this warning in the browser console nowadays. Not sure where it is coming from or why.

clartaq commented 4 years ago

After trying to trace through this, it seems like this is due to an error trying to install binaryage/devtools or cljs-devtools on browsers that don't support them. No issues on browsers that install the tools: Opera and Brave. Error messages on those that don't: Safari and Firefox. Also, the errors do not occur on any browser when running from an uberjar, which does not include the devtools in the build.