Forráskód Böngészése
[js][jQuery] fixed .on arguments
.on() should allow .on( events [, selector ] [, data ], handler(eventObject) )
according to http://api.jquery.com/on/#on-events-selector-data-handlereventObject
This update fixes a Build failure http://try.haxe.org/#e4ea8
Test.hx:9: characters 27-32 : String should be Dynamic<js.JqEvent -> Void>
Test.hx:9: characters 27-32 : For function argument 'events
Here's a test: https://gist.github.com/theRemix/3b9bcff991e99de2a70d
This test will compile and run successfully after this update.