perf: add jsdoc for utils and format some code (#1883)

This commit is contained in:
Tuan Duong
2019-04-11 11:41:36 +09:00
committed by 花裤衩
parent 43ae8520b3
commit d0651ad2f2
11 changed files with 250 additions and 156 deletions

View File

@@ -5,7 +5,6 @@
* @param {Number} w
* @param {Number} h
*/
export default function openWindow(url, title, w, h) {
// Fixes dual-screen position Most browsers Firefox
const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : screen.left