Skip to content

Commit 9745e00

Browse files
authored
Merge pull request #241 from Starzu/patch-1
File size as Double
2 parents 4188364 + e08b46a commit 9745e00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/scala/org/scalajs/dom/raw/lib.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6501,7 +6501,7 @@ trait ProgressEvent extends Event {
65016501
*
65026502
* MDN
65036503
*/
6504-
def loaded: Int = js.native
6504+
def loaded: Double = js.native
65056505

65066506
/**
65076507
* The ProgressEvent.lengthComputable read-only property is a Boolean flag
@@ -6520,7 +6520,7 @@ trait ProgressEvent extends Event {
65206520
*
65216521
* MDN
65226522
*/
6523-
def total: Int = js.native
6523+
def total: Double = js.native
65246524

65256525
/**
65266526
* The ProgressEvent.initProgressEvent() method Initializes an animation event
@@ -6529,8 +6529,8 @@ trait ProgressEvent extends Event {
65296529
* MDN
65306530
*/
65316531
def initProgressEvent(typeArg: String, canBubbleArg: Boolean,
6532-
cancelableArg: Boolean, lengthComputableArg: Boolean, loadedArg: Int,
6533-
totalArg: Int): Unit = js.native
6532+
cancelableArg: Boolean, lengthComputableArg: Boolean, loadedArg: Double,
6533+
totalArg: Double): Unit = js.native
65346534
}
65356535

65366536
/**
@@ -7088,15 +7088,15 @@ class Blob(blobParts: js.Array[js.Any] = js.native,
70887088
*
70897089
* MDN
70907090
*/
7091-
def size: Int = js.native
7091+
def size: Double = js.native
70927092

70937093
/**
70947094
* The slice is used to create a new Blob object containing the data in the specified
70957095
* range of bytes of the source Blob.
70967096
*
70977097
* MDN
70987098
*/
7099-
def slice(start: Int = js.native, end: Int = js.native,
7099+
def slice(start: Double = js.native, end: Double = js.native,
71007100
contentType: String = js.native): Blob = js.native
71017101

71027102
def close(): Unit = js.native

0 commit comments

Comments
 (0)