Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
mageowl committed Dec 23, 2020
1 parent bdf396b commit 3b4c00f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/defaultModules/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class HTMLElementScope extends Scope {
el.innerText += text;
}
});

this.localFunctions.set("self", {
type: "js",
run(text) {
Expand All @@ -66,9 +65,9 @@ export function getConsoleEl() {
return consoleEl;
}

if (isWeb) {
const scope = new Scope();
const scope = new Scope();

if (isWeb) {
scope.localFunctions.set("useElementAsConsole", {
type: "js",
run(id) {
Expand Down

0 comments on commit 3b4c00f

Please sign in to comment.