chore: prettier packages codes

This commit is contained in:
陈嘉涵
2020-01-19 14:09:32 +08:00
parent 389d68884d
commit 1575bea6f5
18 changed files with 113 additions and 80 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ try {
get() {
/* istanbul ignore next */
supportsPassive = true;
}
},
});
window.addEventListener('test-passive', null, opts);
// eslint-disable-next-line no-empty
// eslint-disable-next-line no-empty
} catch (e) {}
export function on(target, event, handler, passive = false) {