final class JSDependency extends AnyRef
Expresses a dependency on a raw JS library and the JS libraries this library itself depends on.
Both the resourceName and each element of dependencies are potentially partial relative paths from the root of the classpath entry to the library. Examples are "jquery.js" or "compressed/history.js".
- Alphabetic
- By Inheritance
- JSDependency
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
JSDependency(resourceName: String, dependencies: List[String] = Nil, commonJSName: Option[String] = None, minifiedResourceName: Option[String] = None)
- resourceName
Resource name, i.e., potentially partial relative path to the .js file. Examples: "jquery.js", "compressed/history.js".
- dependencies
Potentially relative paths of the dependencies of this resource, i.e., JavaScript files that must be included before this JavaScript file.
- commonJSName
A JavaScript variable name this dependency should be required in a commonJS environment (n.b. Node.js). Should only be set if the JavaScript library will register its exports.
- minifiedResourceName
Resource name for the minified version
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def commonJSName(name: String): JSDependency
-
val
commonJSName: Option[String]
A JavaScript variable name this dependency should be required in a commonJS environment (n.b.
A JavaScript variable name this dependency should be required in a commonJS environment (n.b. Node.js). Should only be set if the JavaScript library will register its exports.
-
val
dependencies: List[String]
Potentially relative paths of the dependencies of this resource, i.e., JavaScript files that must be included before this JavaScript file.
- def dependsOn(names: String*): JSDependency
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- JSDependency → 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
-
def
hashCode(): Int
- Definition Classes
- JSDependency → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def minified(name: String): JSDependency
-
val
minifiedResourceName: Option[String]
Resource name for the minified version
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
resourceName: String
Resource name, i.e., potentially partial relative path to the .js file.
Resource name, i.e., potentially partial relative path to the .js file. Examples: "jquery.js", "compressed/history.js".
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- JSDependency → 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
- @throws( ... )