From 121ada0cabf5293bdd6ec0db01c2c99eb1ca2a8b Mon Sep 17 00:00:00 2001 From: nbilyk Date: Sun, 15 Feb 2015 14:05:39 -0800 Subject: [PATCH] JS lib: added missed arguments to Blob constructor. #KT-6654 Fixed --- js/js.libraries/src/html5/files.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/js/js.libraries/src/html5/files.kt b/js/js.libraries/src/html5/files.kt index 373cdf6f3d6..c3f4309d8d5 100644 --- a/js/js.libraries/src/html5/files.kt +++ b/js/js.libraries/src/html5/files.kt @@ -25,11 +25,16 @@ public class File() : Blob() { } native -public open class Blob() { - public val size : Int = noImpl - public val type : String = noImpl +public open class Blob(blobParts: Array? = undefined, options: BlobPropertyBag? = undefined) { + public val size: Int = noImpl + public val type: String = noImpl //Blob slice(optional long long start, //optional long long end, //optional DOMString contentType); // } + +native +public trait BlobPropertyBag { + public val type: String +} \ No newline at end of file