javascript - Extern for dynamic properties -
i'm trying upgrade socket.io extern , i'm facing problem.
so far, set variable, used
socket.set(key, val, callback); but it's
socket.key = val; (see issue on github)
how supposed reflect behaviour in haxe?
any leads welcome!
i suggest using inline function:
public inline function set(key : string, value : dynamic) reflect.setfield(this, key, value); javascript socket.io haxe
No comments:
Post a Comment