From 7bde73102be7fd568442e6566f5d41961d937a76 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 26 Feb 2019 22:42:30 -0500 Subject: [PATCH] readFromClipboard implemented in web --- jslib | 2 +- src/services/webPlatformUtils.service.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jslib b/jslib index 79c15a1841..68f7557e44 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 79c15a18414190ffce39a126ccc9078405287693 +Subproject commit 68f7557e44766ae1d9596e2c06877a51f34cb7a0 diff --git a/src/services/webPlatformUtils.service.ts b/src/services/webPlatformUtils.service.ts index b3bbc107af..e096a9c508 100644 --- a/src/services/webPlatformUtils.service.ts +++ b/src/services/webPlatformUtils.service.ts @@ -287,4 +287,8 @@ export class WebPlatformUtilsService implements PlatformUtilsService { } } } + + readFromClipboard(options?: any): Promise { + throw new Error('Cannot read from clipboard on web.'); + } }