Skip to content

Commit 78c835e

Browse files
committed
fix using es6
1 parent c83bc99 commit 78c835e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/rpg_core/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Utils.isSupportPassiveEvent = function() {
149149
// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection
150150
var passive = false;
151151
var options = Object.defineProperty({}, "passive", {
152-
get() { passive = true; }
152+
get: function() { passive = true; }
153153
});
154154
window.addEventListener("test", null, options);
155155
Utils._supportPassiveEvent = passive;

0 commit comments

Comments
 (0)