diff --git a/src/index.js b/src/index.js index 4e8188a..a529608 100644 --- a/src/index.js +++ b/src/index.js @@ -1,10 +1,7 @@ import { browser } from 'globals'; -import toAddLaterWithPR from './toAddLaterWithPR'; - export default function(){ const defaultKeys = Object.keys(browser) - .concat(toAddLaterWithPR) .reduce((acc, n) => ({ ...acc, [n]: true }), {}); return Object.keys(window).filter(key => !defaultKeys[key]); diff --git a/src/toAddLaterWithPR.js b/src/toAddLaterWithPR.js deleted file mode 100644 index ba7311b..0000000 --- a/src/toAddLaterWithPR.js +++ /dev/null @@ -1,19 +0,0 @@ -export default [ - "onformdata", - "onwebkitanimationend", - "onwebkitanimationiteration", - "onwebkitanimationstart", - "onwebkittransitionend", - "onselectstart", - "onselectionchange", - "captureEvents", - "releaseEvents", - "webkitRequestAnimationFrame", - "webkitCancelAnimationFrame", - "webkitStorageInfo", - "chrome", - "onpointerrawupdate", - "webkitRequestFileSystem", - "webkitResolveLocalFileSystemURL", - "trustedTypes", -] \ No newline at end of file