annotate Platforms/WebAssembly/default-library.js @ 229:b0ba3b38a23c am

ScheduleRedraw can handle multiple viewports
author am@osimis.io
date Thu, 14 Jun 2018 16:51:43 +0200
parents
children 5027cb2feb51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
229
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
1 // this file contains the JS method you want to expose to C++ code
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
2
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
3 mergeInto(LibraryManager.library, {
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
4 ScheduleWebViewportRedrawFromCpp: function(cppViewportHandle) {
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
5 ScheduleWebViewportRedraw(cppViewportHandle);
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
6 }
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
7 });
b0ba3b38a23c ScheduleRedraw can handle multiple viewports
am@osimis.io
parents:
diff changeset
8