Skip to content

Commit

Permalink
refactor: remove draft due globals package automatically generate det…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shapkarin authored and shapkarin committed Jun 18, 2024
1 parent d57c5c4 commit 80812e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -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]);
Expand Down
19 changes: 0 additions & 19 deletions src/toAddLaterWithPR.js

This file was deleted.

0 comments on commit 80812e3

Please sign in to comment.