cytoscape/cytoscape.js — pull request #409 by aschriner (2014-01-21 19:27:01+00:00)
Title: Change to make cxtmenu work on edges

Set position for context menu from node location or event location depending on whether selector is "node" or "edge", respectively. Also removed rh and rw which were not used (except for rs, which was immediately overwritten - also removed).