medenagan / window-corner-preview

GNOME Shell extension showing a video preview on the corner of the screen
https://extensions.gnome.org/extension/1227/window-corner-preview/
MIT License
135 stars 26 forks source link

ES6 module syntax fixes #11

Closed henryptung closed 5 years ago

henryptung commented 5 years ago

Instead of using Main's import of misc.Util, import directly. Avoids ES6 module warning.

Also use var instead of const for exported properties.

medenagan commented 5 years ago

Hi @henryptung, why do you think it's better to switch from const to var in storing the keys?