Old-style property accessor raises warning on compile

Description

clojure.browser.repl is accessing the property of an event via the / syntax, which seems to have been deprecated:
https://github.com/clojure/clojurescript/blob/f74b50967ef4041db585bd6c6f2f490285f61961/src/cljs/clojure/browser/repl.cljs#L71

It causes warnings on compile:

WARNING: No such namespace: e at line 71 resources/public/js/bin-debug/clojure/browser/repl.cljs

Attached is a fix

Environment

cljs

Activity

Show:
Greg Chapman
October 19, 2013, 9:25 PM

e/currentTarget also appears inside the clojure.reflect module (reflect.cljs, line 19 - where e is again an event object). Presumably this should also be changed if this style of property access has been deprecated.

Sean Grove
October 20, 2013, 11:27 PM

Updates another e/currentTarget instance as pointed out by Greg Chapman.

Completed

Assignee

Sean Grove

Reporter

Sean Grove

Labels

Approval

None

Patch

Code

Priority

Minor