replace type with etype (or event_type) #300

Open
pyjsorg opened this Issue Apr 27, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@pyjsorg
Contributor

pyjsorg commented Apr 27, 2012

3 Suggestions:

  1. 'type' is a built-in function. Reading a line like the above is
    jarring to me. Use 'etype' for the event type.
  2. I belive the above is equivalent to
    if etype in ("mousedown", "mouseup", "mousemove" "mouseover",
    "mouseout"):

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=419 (June 12, 2010 19:51:11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment