Default configuration of the output mode.
Default configuration of the output mode.
useECMAScript2015
: false
Legacy output mode where everything is stored in a global ScalaJS variable.
Legacy output mode where everything is stored in a global ScalaJS variable. This is suited to the special Rhino interpreter.
Output mode compliant with ECMAScript 5.1 (deprecated alias).
Output mode compliant with ECMAScript 5.1 (deprecated alias).
This value is not annotated with @deprecated
for technical reasons, but
it should be considered as such.
Use Defaults
instead.
Output mode compliant with ECMAScript 2015 (deprecated alias).
Output mode compliant with ECMAScript 2015 (deprecated alias).
This value is not annotated with @deprecated
for technical reasons, but
it should be considered as such.
Use Defaults.withUseECMAScript2015(true)
instead.
All the available output modes.
All the available output modes. There are listed in decreasing order of "importance", as judged by whoever maintains the back-ends.
(Since version 0.6.23) The notion that there is a list of existing output modes is going away.
Default configuration of the output mode.
Default configuration of the output mode.
(Since version 0.6.23) Use Defaults instead.
Output mode compliant with ECMAScript 2015.
Output mode compliant with ECMAScript 2015.
This output mode assumes that the target platform supports ECMAScript 2015 (aka ES 6).
(Since version 0.6.23) Use Defaults.withUseECMAScript2015(true)
instead.
Output mode compliant with ECMAScript 5.1.
Output mode compliant with ECMAScript 5.1.
This is the default output mode. It assumes that the target platform supports ECMAScript 5.1, ideally with correct handling of strict mode.
(Since version 0.6.23) Use Defaults instead.
(Since version 0.6.8) Support for ES6 Strong Mode was removed. Use ECMAScript6 instead.
Factory for
OutputMode
s.For forward source compatibility with Scala.js 1.x, use the alias org.scalajs.core.tools.linker.ESFeatures instead.