diff --git a/.travis.yml b/.travis.yml index 5b708ce26..85ee536f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/src/main/scala/org/scalajs/dom/raw/Css.scala b/src/main/scala/org/scalajs/dom/raw/Css.scala index 17fb5e124..dffe7cae4 100644 --- a/src/main/scala/org/scalajs/dom/raw/Css.scala +++ b/src/main/scala/org/scalajs/dom/raw/Css.scala @@ -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 @@ -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). * @@ -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 @@ -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 */ @@ -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 @@ -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 @@ -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. * @@ -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 @@ -592,4 +592,4 @@ class CSSKeyframeRule extends CSSRule { * MDN */ var style: CSSStyleDeclaration = js.native -} \ No newline at end of file +} diff --git a/src/main/scala/org/scalajs/dom/raw/Idb.scala b/src/main/scala/org/scalajs/dom/raw/Idb.scala index f11e6cc60..2f518ea1c 100644 --- a/src/main/scala/org/scalajs/dom/raw/Idb.scala +++ b/src/main/scala/org/scalajs/dom/raw/Idb.scala @@ -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. */ diff --git a/src/main/scala/org/scalajs/dom/raw/WebGL.scala b/src/main/scala/org/scalajs/dom/raw/WebGL.scala index fa37148b5..b65dad5b6 100644 --- a/src/main/scala/org/scalajs/dom/raw/WebGL.scala +++ b/src/main/scala/org/scalajs/dom/raw/WebGL.scala @@ -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]], @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/src/main/scala/org/scalajs/dom/raw/lib.scala b/src/main/scala/org/scalajs/dom/raw/lib.scala index 491f213fd..b7cf09b14 100644 --- a/src/main/scala/org/scalajs/dom/raw/lib.scala +++ b/src/main/scala/org/scalajs/dom/raw/lib.scala @@ -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 { @@ -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 */ @@ -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