WIP
This commit is contained in:
parent
79971cb1a6
commit
f985573750
|
@ -238,7 +238,7 @@ class JavaScript
|
|||
try {
|
||||
$dependencies = $match[2] ? Json::decode($match[2]) : [];
|
||||
foreach ($dependencies as &$dependencyName) {
|
||||
if ($dependencyName === 'exports') {
|
||||
if ($dependencyName === 'exports' || $dependencyName === 'Icinga') {
|
||||
// exports is a special keyword and doesn't need optimization
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -91,6 +91,8 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
define('Icinga', [], () => Icinga);
|
||||
|
||||
this.timezone = new Icinga.Timezone();
|
||||
this.utils = new Icinga.Utils(this);
|
||||
this.logger = new Icinga.Logger(this);
|
||||
|
|
Loading…
Reference in New Issue