philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

ST.Plot.Nodetypes contains functions fixes #52

Closed dingsdax closed 13 years ago

dingsdax commented 13 years ago

fixed the contains functions in ST.Plot.Nodetypes, to make mouse-events, tips, etc. on native types work; in response to this thread: http://groups.google.com/group/javascript-information-visualization-toolkit/browse_thread/thread/349b5b7bd86ae5b4/ebf28ff71f33d0ea?lnk=gst&q=Events+not+working#ebf28ff71f33d0ea

cheers, johdax

philogb commented 13 years ago

Cool, could you described what you changed? It's kind of difficult to figure that out from the diffs.

philogb commented 13 years ago

Already added the fix to the master branch, thanks!

dingsdax commented 13 years ago

thx, sry for the messed up diff, didn't know the diffs would deal so rigorously with whitespaces and newlines. basically i only changed the last lines (more specifically the args) in the contains function for the nodetypes, so that they mouse-events, tips etc work with native types...