mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-09 03:07:20 +02:00
utils: eslint fix
This commit is contained in:
parent
e42043aad7
commit
27eee4fb16
@ -16,12 +16,15 @@ window.chrome.i18n = {
|
||||
|
||||
window.$all = selector => [...document.querySelectorAll(selector)];
|
||||
window.IS_EXTENSION = !!window.chrome.extension;
|
||||
|
||||
/* eslint-disable no-process-env */
|
||||
export const BASE_PATH =
|
||||
window.chrome.extension ||
|
||||
window.DEBUG ||
|
||||
process.env.NODE_ENV === 'development'
|
||||
? '/'
|
||||
: '/app';
|
||||
/* eslint-enable no-process-env */
|
||||
|
||||
var alphaNum = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user