mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 09:16:30 -05:00
e0021036ae
The hex2rgb function seems to previously have been available globally. It probably got lost in the great Webpack refactoring and nobody noticed that. This copies the function into its own file (to make importing it easy) and adds an import in index.js. Fixes https://github.com/hedgedoc/hedgedoc/issues/2248 Signed-off-by: David Mehren <git@herrmehren.de>
27 lines
534 B
JavaScript
27 lines
534 B
JavaScript
// this config file is used in concert with the root .eslintrc.js in the root dir.
|
|
module.exports = {
|
|
env: {
|
|
browser: true
|
|
},
|
|
globals: {
|
|
$: false,
|
|
CodeMirror: false,
|
|
Cookies: false,
|
|
moment: false,
|
|
editor: false,
|
|
ui: false,
|
|
Spinner: false,
|
|
modeType: false,
|
|
Idle: false,
|
|
serverurl: false,
|
|
key: false,
|
|
gapi: false,
|
|
Dropbox: false,
|
|
FilePicker: false,
|
|
ot: false,
|
|
MediaUploader: false,
|
|
num_loaded: false,
|
|
Visibility: false,
|
|
inlineAttachment: false
|
|
}
|
|
}
|