andyli / jQueryExternForHaxe

Unleash the full power of jQuery in Haxe.
http://lib.haxe.org/p/jQueryExtern
65 stars 12 forks source link

changed handler into an optional function parameters in focusin and focu... #4

Closed MatthijsKamstra closed 12 years ago

MatthijsKamstra commented 12 years ago

little change to the focusin and focusout functions, the handler is optional now

otherwise you need to type:

        new JQuery("#markdown_input").focusin( null, function( event ) {
             js.Lib.alert("Hello world!");
        });