Skip to content

Commit 59b0c02

Browse files
madanagopaltMichael Fiess
authored and
Michael Fiess
committed
remove null assigns from browser.js (pxscene#1653)
* remove null assigns from browser.js * Update browser.js
1 parent b4670fa commit 59b0c02

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

examples/pxScene2d/src/browser.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ var homeUrl = "https://www.pxscene.org/examples/px-reference/text/sample.md";
2020

2121
px.configImport({"browser:" : /*px.getPackageBaseFilePath() + */ "browser/"});
2222

23-
2423
px.import({ scene: 'px:scene.1.js',
2524
keys: 'px:tools.keys.js',
2625
ListBox: 'browser:listbox.js',
@@ -80,15 +79,6 @@ px.import({ scene: 'px:scene.1.js',
8079
return "allow"; // allow request to bubble to parent
8180
});
8281

83-
scene.on('onClose', function(e) {
84-
keys = null;
85-
for (var key in inputBox) { delete inputBox[key]; }
86-
listBox = null;
87-
browser = null
88-
inputBox = null;
89-
scene = null;
90-
});
91-
9282
var currentGen = 0
9383
function reload(u, keepHistory)
9484
{

0 commit comments

Comments
 (0)