v2.2.0: Release 2.2.0
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 () { ... });
required for devkit-accelerometer
v3.0.0