Created
June 1, 2012 00:01
-
-
Save ccapndave/2847353 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FB.hx | |
| ===== | |
| @:native("FB") | |
| extern class FBExtern { | |
| public static function init(params:Dynamic):Void; | |
| } | |
| class FB extends FBExtern { | |
| public static function startup() { | |
| trace("doing the startup"); | |
| } | |
| } | |
| Main.hx | |
| ======= | |
| FB.startup(); // this works | |
| FB.init(); // this give #FB has no field init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment