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