Skip to content

Commit 0accb64

Browse files
authored
Merge pull request #768 from faveoled/patch-1
`Blob#slice` doc fix
2 parents 5fcd436 + 99c65c3 commit 0accb64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dom/src/main/scala/org/scalajs/dom/Blob.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ class Blob(blobParts: js.Iterable[BlobPart], options: BlobPropertyBag = js.nativ
3535
*/
3636
def `type`: String = js.native
3737

38-
/** A string indicating the MIME type of the data contained in the Blob. If the type is unknown, this string is empty.
39-
*/
38+
/** Creates and returns a new Blob object which contains data from a subset of the blob on which it's called. */
4039
def slice(start: Double = js.native, end: Double = js.native, contentType: String = js.native): Blob = js.native
4140

4241
/** Returns a ReadableStream that can be used to read the contents of the blob. */

0 commit comments

Comments
 (0)