Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created June 4, 2012 11:57
Show Gist options
  • Select an option

  • Save ccapndave/2867926 to your computer and use it in GitHub Desktop.

Select an option

Save ccapndave/2867926 to your computer and use it in GitHub Desktop.
package ember;
@:native("Ember.Application")
extern class Application {
public static function create():Application;
}
This works great with myApplication = Application.create()
class MyApp extends embed.Application { }
I'd like a way to get this to work with myApp = MyApp.create(), returning a MyApp (ideally without having to redefine create()).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment