summaryrefslogtreecommitdiffstats
path: root/examples/draganddrop/puzzle
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2021-05-21 12:03:58 +0200
committerMorten Sørvig <morten.sorvig@qt.io>2021-06-22 13:11:20 +0200
commita97445274ab94e38f457a0d874ec64aa0da60846 (patch)
tree989b2efa384c8b61d1b102168e6d21334c432c20 /examples/draganddrop/puzzle
parent586027f7fd1e148ed95af8da793e42ceb405770a (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/puzzle')
0 files changed, 0 insertions, 0 deletions