Skip to content

Commit

Permalink
fix dirac modules again
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Jun 17, 2020
1 parent 80495ae commit 709c53b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
5 changes: 4 additions & 1 deletion resources/unpacked/devtools/front_end/dirac/dirac.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import './keysim.js';
import './parinfer.js';
import './parinfer-codemirror.js';

console.log('DJS imported!');
console.log('dirac module import!');

(function () {
const window = this;

Expand Down Expand Up @@ -328,3 +329,5 @@ console.log('DJS imported!');
window.initDiracImplantAfterLoad = true;
}
}).call(self);

console.log('dirac module imported!');
10 changes: 3 additions & 7 deletions resources/unpacked/devtools/front_end/dirac/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@
"host"
],
"modules": [
],
"scripts": [
"dirac.js",
"parinfer.js",
"parinfer-codemirror.js",
"keysim.js",
"keysim.js"
],
"scripts": [
"require-implant.js"
],
"skip_compilation": [
"dirac.js",
"parinfer.js",
"parinfer-codemirror.js",
"keysim.js",
"require-implant.js"
],
"resources": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

console.log('dirac-lazy module import!');

if (!window.dirac) {
console.error('window.dirac was expected to exist when loading dirac_lazy overlay');
throw new Error('window.dirac was expected to exist when loading dirac_lazy overlay');
Expand Down Expand Up @@ -952,3 +954,5 @@ Object.assign(window.dirac, (function () {
};

})());

console.log('dirac-lazy module imported!');
5 changes: 3 additions & 2 deletions resources/unpacked/devtools/front_end/dirac_lazy/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"components",
"dirac"
],
"scripts": [
"modules": [
"dirac_lazy.js"
],
"scripts": [
],
"skip_compilation": [
"dirac_lazy.js"
],
"resources": [
]
Expand Down

0 comments on commit 709c53b

Please sign in to comment.