diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2021-05-21 12:03:58 +0200 |
---|---|---|
committer | Morten Sørvig <morten.sorvig@qt.io> | 2021-06-22 13:11:20 +0200 |
commit | a97445274ab94e38f457a0d874ec64aa0da60846 (patch) | |
tree | 989b2efa384c8b61d1b102168e6d21334c432c20 /examples/draganddrop | |
parent | 586027f7fd1e148ed95af8da793e42ceb405770a (diff) |
wasm: use module_property instead of global(“Module”)
Depending on build options, the module can have a different
name, or be a non-global object. We were already using
module_property in many places, but some were missing.
In the case of the clipboard code, there is actually
no need to export all of the C++ functions to JavaScript
and then resolve them from the module; instead call them
directly.
Change-Id: I83aa3ad01ad961d48e21f0994e0c205d833cbe8a
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'examples/draganddrop')
0 files changed, 0 insertions, 0 deletions