object OutputMode
Factory for OutputModes.
For forward source compatibility with Scala.js 1.x, use the alias org.scalajs.core.tools.linker.ESFeatures instead.
- Alphabetic
- By Inheritance
- OutputMode
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Defaults: OutputMode
Default configuration of the output mode.
Default configuration of the output mode.
useECMAScript2015: false
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
ECMAScript51Global extends OutputMode with Product with Serializable
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.
-
object
ECMAScript51Isolated extends OutputMode with Product with Serializable
Output mode compliant with ECMAScript 5.1 (deprecated alias).
Output mode compliant with ECMAScript 5.1 (deprecated alias).
This value is not annotated with
@deprecatedfor technical reasons, but it should be considered as such.Use
Defaultsinstead. -
object
ECMAScript6 extends OutputMode with Product with Serializable
Output mode compliant with ECMAScript 2015 (deprecated alias).
Output mode compliant with ECMAScript 2015 (deprecated alias).
This value is not annotated with
@deprecatedfor technical reasons, but it should be considered as such.Use
Defaults.withUseECMAScript2015(true)instead.
Deprecated Value Members
-
val
All: List[Product with Serializable with OutputMode]
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.
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.23) The notion that there is a list of existing output modes is going away.
-
val
Default: OutputMode
Default configuration of the output mode.
Default configuration of the output mode.
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.23) Use Defaults instead.
-
val
ECMAScript2015: ECMAScript6.type
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).
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.23) Use
Defaults.withUseECMAScript2015(true)instead.
-
val
ECMAScript51: ECMAScript51Isolated.type
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.
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.23) Use Defaults instead.
-
lazy val
ECMAScript6StrongMode: ECMAScript6.type
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.8) Support for ES6 Strong Mode was removed. Use ECMAScript6 instead.