plumatic / dommy

A tiny ClojureScript DOM manipulation and event library
759 stars 74 forks source link

Event listener for window "broken" #52

Closed mattdeboard closed 9 years ago

mattdeboard commented 10 years ago

Previously, with Clojurescript r1853, the following worked:

(listen! js/window :load f)

However as of 1909 (and maybe before) this fails because js/window does not implement the INamed interface:

Doesn't support name: [Object object]

This is as much as I can tell based on a reading of the diff between the two revisions.

cpetzold commented 9 years ago

Sorry for the late response -- we've simplified dommy and I'm not able to reproduce the issue. Let me know if it's still a problem for you.