Articles with the jQuery tag

Page 1 / 1

  1. Haxe tips: better untyped expression

    Sun 08 July 2012

    tl;dr

    Remember to put the brackets

        (untyped new JQuery("#images").imageLoader)({});
    //  ^                                         ^
    //  |________these____________________________|
    

    Abstract

    Static type system of Haxe helps you a lot by performing type-checking in the compilation phase. You will be notified errors before the application is run.

    Since some Haxe targets (e.g.. JS and PHP) are …

    continue reading
  2. Using jQuery in haXe

    Tue 03 August 2010

    It is a kind of pain to code in JS without a proper library like jQuery. Using plain haXe in JS target is just as pain since haXe does not abstract most of the browser quirks, what it gives is only stricter typing and a little bit better core API …

    continue reading

Page 1 / 1