Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: scala
script:
- sbt ++$TRAVIS_SCALA_VERSION package
- sbt ++$TRAVIS_SCALA_VERSION package doc
- sbt ++2.11.6 readme/run
scala:
- 2.10.5
Expand Down
18 changes: 9 additions & 9 deletions src/main/scala/org/scalajs/dom/raw/Css.scala
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class CSSStyleSheet extends StyleSheet {
var readOnly: Boolean = js.native
var cssText: String = js.native
/**
* If this style sheet is imported into the document using an @import rule, the
* If this style sheet is imported into the document using an `@import` rule, the
* ownerRule property will return that CSSImportRule, otherwise it returns null.
*
* MDN
Expand Down Expand Up @@ -376,7 +376,7 @@ class CSSStyleRule extends CSSRule {
}

/**
* CSSMediaRule is an object representing a single CSS @media rule. It implements the
* CSSMediaRule is an object representing a single CSS `@media` rule. It implements the
* CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule
* interface with a type value of 4 (CSSRule.MEDIA_RULE).
*
Expand All @@ -400,7 +400,7 @@ class CSSMediaRule extends CSSRule {

/**
* The CSSNamespaceRule interface describes an object representing a single CSS
* @@namespace at-rule. It implements the CSSRule interface, with a type value of 10
* `@@namespace` at-rule. It implements the CSSRule interface, with a type value of 10
* (CSSRule.NAMESPACE_RULE).
*
* MDN
Expand Down Expand Up @@ -451,7 +451,7 @@ class CSSRule extends js.Object {
var parentStyleSheet: CSSStyleSheet = js.native
/**
* Returns the containing rule, otherwise null. E.g. if this rule is a style rule
* inside an @media block, the parent rule would be that CSSMediaRule.
* inside an `@media` block, the parent rule would be that CSSMediaRule.
*
* MDN
*/
Expand Down Expand Up @@ -487,7 +487,7 @@ class CSSFontFaceRule extends CSSRule {


/**
* CSSPageRule is an object representing a single CSS @page rule. It implements the
* CSSPageRule is an object representing a single CSS `@page` rule. It implements the
* CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).
*
* MDN
Expand Down Expand Up @@ -521,7 +521,7 @@ class CSSRuleList extends DOMList[CSSRule]
/**
* The CSSKeyframesRule interface describes an object representing a complete set
* of keyframes for a CSS animation. It corresponds to the contains of a whole
* @@keyframes at-rule. It implements the CSSRule interface with a type value of 7
* `@@keyframes` at-rule. It implements the CSSRule interface with a type value of 7
* (CSSRule.KEYFRAMES_RULE).
*
* MDN
Expand Down Expand Up @@ -560,7 +560,7 @@ class CSSKeyframesRule extends CSSRule {

/**
* Inserts a new keyframe rule into the current CSSKeyframesRule. The parameter is a
* DOMString containing a keyframe in the same format as an entry of a @keyframes
* DOMString containing a keyframe in the same format as an entry of a `@keyframes`
* at-rule. If it contains more than one keyframe rule, a DOMException with a
* SYNTAX_ERR is thrown.
*
Expand All @@ -573,7 +573,7 @@ class CSSKeyframesRule extends CSSRule {
/**
* The CSSKeyframeRule interface describes an object representing a set of style for
* a given keyframe. It corresponds to the contains of a single keyframe of a
* @@keyframes at-rule. It implements the CSSRule interface with a type value of 8
* `@@keyframes` at-rule. It implements the CSSRule interface with a type value of 8
* (CSSRule.KEYFRAME_RULE).
*
* MDN
Expand All @@ -592,4 +592,4 @@ class CSSKeyframeRule extends CSSRule {
* MDN
*/
var style: CSSStyleDeclaration = js.native
}
}
2 changes: 1 addition & 1 deletion src/main/scala/org/scalajs/dom/raw/Idb.scala
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ class IDBDatabase extends EventTarget {
/**
* A 64-bit integer that contains the version of the connected database.
* When a database is first created or upgraded you should use
* [[dom.idb.VersionChangeEvent#newVersion]] instead.
* [[IDBVersionChangeEvent#newVersion]] instead.
* Webkit returns always integer and the value is 1 when
* database is first created.
*/
Expand Down
24 changes: 12 additions & 12 deletions src/main/scala/org/scalajs/dom/raw/WebGL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1765,7 +1765,7 @@ class WebGLRenderingContext extends js.Object {
def texParameteri(target: Int, pname: Int, param: Int): Unit = js.native

/**
* Loads a 2-dimensional texture subimage into a texture unit from an [[ArrayBufferView]].
* Loads a 2-dimensional texture subimage into a texture unit from an `ArrayBufferView`.
*
* @param target the target on the active texture unit. May be [[WebGLRenderingContext.TEXTURE_2D]], [[WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X]],
* [[WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X]], [[WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y]], [[WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y]],
Expand Down Expand Up @@ -1853,7 +1853,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a scalar float into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v a [[Float32Array]] to bind to
* @param v a `Float32Array` to bind to
*/
def uniform1fv(location: WebGLUniformLocation, v: Float32Array): Unit = js.native

Expand All @@ -1877,7 +1877,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a scalar integer into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v an [[Int32Array]] to bind to
* @param v an `Int32Array` to bind to
*/
def uniform1iv(location: WebGLUniformLocation, v: Int32Array): Unit = js.native

Expand All @@ -1902,7 +1902,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 2-vector of floats into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v a [[Float32Array]] to bind to
* @param v a `Float32Array` to bind to
*/
def uniform2fv(location: WebGLUniformLocation, v: Float32Array): Unit = js.native

Expand All @@ -1927,7 +1927,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 2-vector of integers into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v an [[Int32Array]] to bind to
* @param v an `Int32Array` to bind to
*/
def uniform2iv(location: WebGLUniformLocation, v: Int32Array): Unit = js.native

Expand All @@ -1953,7 +1953,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 3-vector of floats into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v a [[Float32Array]] to bind to
* @param v a `Float32Array` to bind to
*/
def uniform3fv(location: WebGLUniformLocation, v: Float32Array): Unit = js.native

Expand All @@ -1979,7 +1979,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 3-vector of integers into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v an [[Int32Array]] to bind to
* @param v an `Int32Array` to bind to
*/
def uniform3iv(location: WebGLUniformLocation, v: Int32Array): Unit = js.native

Expand All @@ -2006,7 +2006,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 4-vector of floats into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v a [[Float32Array]] to bind to
* @param v a `Float32Array` to bind to
*/
def uniform4fv(location: WebGLUniformLocation, v: Float32Array): Unit = js.native

Expand All @@ -2033,7 +2033,7 @@ class WebGLRenderingContext extends js.Object {
* Loads a a 4-vector of integers into a [[WebGLUniformLocation]].
*
* @param location the location to bind.
* @param v an [[Int32Array]] to bind to
* @param v an `Int32Array` to bind to
*/
def uniform4iv(location: WebGLUniformLocation, v: Int32Array): Unit = js.native

Expand All @@ -2050,7 +2050,7 @@ class WebGLRenderingContext extends js.Object {
*
* @param location the location to bind.
* @param transpose if `true`, the matrix will loaded into the uniform transposed.
* @param value the source [[Float32Array]] containing the matrix data.
* @param value the source `Float32Array` containing the matrix data.
*/
def uniformMatrix2fv(location: WebGLUniformLocation, transpose: Boolean, value: Float32Array): Unit = js.native

Expand All @@ -2068,7 +2068,7 @@ class WebGLRenderingContext extends js.Object {
*
* @param location the location to bind.
* @param transpose if `true`, the matrix will loaded into the uniform transposed.
* @param value the source [[Float32Array]] containing the matrix data.
* @param value the source `Float32Array` containing the matrix data.
*/
def uniformMatrix3fv(location: WebGLUniformLocation, transpose: Boolean, value: Float32Array): Unit = js.native

Expand All @@ -2086,7 +2086,7 @@ class WebGLRenderingContext extends js.Object {
*
* @param location the location to bind.
* @param transpose if `true`, the matrix will loaded into the uniform transposed.
* @param value the source [[Float32Array]] containing the matrix data.
* @param value the source `Float32Array` containing the matrix data.
*/
def uniformMatrix4fv(location: WebGLUniformLocation, transpose: Boolean, value: Float32Array): Unit = js.native

Expand Down
8 changes: 4 additions & 4 deletions src/main/scala/org/scalajs/dom/raw/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,9 @@ trait ServiceWorkerContainer extends EventTarget {
* MDN
*/
class Navigator extends NavigatorID with NavigatorOnLine with NavigatorContentUtils with NavigatorGeolocation with NavigatorStorageUtils {

val serviceWorker: ServiceWorkerContainer = js.native

}

trait NodeSelector extends js.Object {
Expand Down Expand Up @@ -3086,7 +3086,7 @@ class MessageEvent extends Event {
def origin: String = js.native

/**
* The data from the server ([[String]], [[Blob]], or [[ArrayBuffer]])
* The data from the server (`String`, [[Blob]], or `ArrayBuffer`)
*
* MDN
*/
Expand Down Expand Up @@ -3881,7 +3881,7 @@ trait ClipboardEventInit extends js.Object {
object ClipboardEventInit {
/**
* Construct a new ClipboardEventInit
*
*
* @param data The data for this clipboard event
* @param dataType The MIME type of the data.
* @return a new ClipBoardEventInit
Expand Down