fix: use correct env declarations in bootstrap.js
This commit is contained in:
parent
d3571d6ee2
commit
cad4f34b51
4
src/assets/js/bootstrap.js
vendored
4
src/assets/js/bootstrap.js
vendored
@ -63,7 +63,7 @@
|
|||||||
version++;
|
version++;
|
||||||
|
|
||||||
if (!environments[env.id]) environments[env.id] = []
|
if (!environments[env.id]) environments[env.id] = []
|
||||||
declSnapshots = environments[env.id];
|
var decls = declSnapshots = environments[env.id];
|
||||||
var emit = service.getEmitOutput("/src.ts");
|
var emit = service.getEmitOutput("/src.ts");
|
||||||
|
|
||||||
var diagnostics = []
|
var diagnostics = []
|
||||||
@ -94,7 +94,7 @@
|
|||||||
return {
|
return {
|
||||||
function: function () {
|
function: function () {
|
||||||
var val = compiled.function.apply(this, arguments);
|
var val = compiled.function.apply(this, arguments);
|
||||||
if (declaration !== '') declSnapshots.push(ts.ScriptSnapshot.fromString(declaration));
|
if (declaration !== '') decls.push(ts.ScriptSnapshot.fromString(declaration));
|
||||||
return val;
|
return val;
|
||||||
},
|
},
|
||||||
breakpoints: compiled.breakpoints,
|
breakpoints: compiled.breakpoints,
|
||||||
|
Loading…
Reference in New Issue
Block a user