jokade / angulate2

Scala.js bindings for Angular
MIT License
87 stars 15 forks source link

Use JSExportStatic for Angular annotations #60

Open jokade opened 7 years ago

jokade commented 7 years ago

Currently we generate a separate JS file with the annotations required by Angular (-sjsx.js'). With the advent of@JSExportStatic` in Scala.js 0.6.15 this should no longer be necessary.

jokade commented 7 years ago

OK, @JSExportStatic only works on @ScalaJSDefined classes, so we're currently stuck with the -sjsx file.