beatngu13 / cljs-praxisboerse

SPA built with ClojureScript and Hoplon
1 stars 0 forks source link

Using @% sometimes leads to an error #1

Open beatngu13 opened 8 years ago

beatngu13 commented 8 years ago

Sometimes using the @% reader macro leads to the following error:

Error: No protocol method IDeref.-deref defined for type object: [object Object]

This is why (.val (js/jQuery (.-target %))) is used in a few situations. However, this workaround shouldn't be necessary.