Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- export the native window API so native plugins can detect when games are listening for events on the window object ``` import devkit.native.Window as nativeWindow; nativeWindow.on('newListener', function (type, cb) { console.log("new native listener for", type); }); window.addEventListener("devicemotion", function () { ... }); ```
- Loading branch information