javascript - Generating haXe externs for EaselJS -



javascript - Generating haXe externs for EaselJS -

being new both javascript , haxe, may have simple answer, i've discovered haxe has externs port on googlecode easeljs, out of date , correspond before version. i've been able prepare errors occur during compile time, i'm still wary didn't grab al new variables , function names.

my question is: there simple way generate externs big js library easeljs?

you might want take @ joshua granick's work buildjs:

http://www.joshuagranick.com/blog/2011/10/14/use-buildjs-to-make-externs-for-haxe-js-automatically/

basically there's tool called jsduck supposed compile documentation javascript libraries, , can output json. he's used output json, combined "buildjs" library build haxe externs.

he's used sencha touch, , i've used extjs, both of sencha products , coding style known work jsduck. can give go easeljs, if works buildjs should generate pretty accurate externs.

otherwise, might seek find author of original easeljs externs , see if can provide update, or give help creating accurate update. of haxe developers can contact plenty using mailing list or google groups:

http://groups.google.com/group/haxelang?hl=en

javascript haxe easeljs

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -