Skip to content

File size as Double #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/main/scala/org/scalajs/dom/raw/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6501,7 +6501,7 @@ trait ProgressEvent extends Event {
*
* MDN
*/
def loaded: Int = js.native
def loaded: Double = js.native

/**
* The ProgressEvent.lengthComputable read-only property is a Boolean flag
Expand All @@ -6520,7 +6520,7 @@ trait ProgressEvent extends Event {
*
* MDN
*/
def total: Int = js.native
def total: Double = js.native

/**
* The ProgressEvent.initProgressEvent() method Initializes an animation event
Expand All @@ -6529,8 +6529,8 @@ trait ProgressEvent extends Event {
* MDN
*/
def initProgressEvent(typeArg: String, canBubbleArg: Boolean,
cancelableArg: Boolean, lengthComputableArg: Boolean, loadedArg: Int,
totalArg: Int): Unit = js.native
cancelableArg: Boolean, lengthComputableArg: Boolean, loadedArg: Double,
totalArg: Double): Unit = js.native
}

/**
Expand Down Expand Up @@ -7088,15 +7088,15 @@ class Blob(blobParts: js.Array[js.Any] = js.native,
*
* MDN
*/
def size: Int = js.native
def size: Double = js.native

/**
* The slice is used to create a new Blob object containing the data in the specified
* range of bytes of the source Blob.
*
* MDN
*/
def slice(start: Int = js.native, end: Int = js.native,
def slice(start: Double = js.native, end: Double = js.native,
contentType: String = js.native): Blob = js.native

def close(): Unit = js.native
Expand Down