Skip to content

Commit

Permalink
add core global preset variables
Browse files Browse the repository at this point in the history
  • Loading branch information
leoding86 committed Mar 5, 2022
1 parent 3d51e85 commit 35ba66d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/global.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if (PRESET_BROWSER === 'firefox') {
window.$_browser = 'firefox';
} else {
window.$_browser = 'default';
}

0 comments on commit 35ba66d

Please sign in to comment.