diff options
author | Andreas Gohr <andi@splitbrain.org> | 2020-06-04 08:22:16 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2020-06-04 08:22:16 +0200 |
commit | 46028c4c32caf8dfc675f5544a037bd5e5d8f9c2 (patch) | |
tree | 16d6d00499ac88fad906e0f3625ee0f1e6b7835d /lib/scripts/jquery/jquery-ui.min.js | |
parent | e3ec9ced0473ba3900d414d29ad9a4329e834aef (diff) | |
download | dokuwiki-46028c4c32caf8dfc675f5544a037bd5e5d8f9c2.tar.gz dokuwiki-46028c4c32caf8dfc675f5544a037bd5e5d8f9c2.zip |
Move defines to their own file
As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is invoked (I'm not sure why).
In general PSR2 discourages a mix of main code and function/class setup
with the call to define() being considered main code.
This patch moves these the define calls to a separate new file, solving
both of the above problems.
These are not all our defines. Instead I focused on the ones that are
ENUM-like.
In the future we should think about what defines can be replaced by
class constants and what other define() calls should be moved.
Diffstat (limited to 'lib/scripts/jquery/jquery-ui.min.js')
0 files changed, 0 insertions, 0 deletions