Closed sinisterchipmunk closed 11 years ago
Scenario:
Jax.Controller.create "one", mouse_clicked: -> index: -> Jax.Controller.create "two", index: -> c = new Jax.Context c.redirectTo "one" c.redirectTo "two"
Now click on the canvas; you'll get an undefined method error as context c tries to call mouse_clicked on controller two.
c
mouse_clicked
two
Scenario:
Now click on the canvas; you'll get an undefined method error as context
c
tries to callmouse_clicked
on controllertwo
.