cleanup.
This commit is contained in:
parent
0d86165122
commit
b068a8d036
|
@ -26,14 +26,6 @@ function Node(options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
this.options = options;
|
this.options = options;
|
||||||
|
|
||||||
/*
|
|
||||||
this.screen = this.screen
|
|
||||||
|| options.screen
|
|
||||||
|| (options.parent && options.parent.screen)
|
|
||||||
|| require('./screen').global
|
|
||||||
|| (function(){throw new Error('No active screen.')})();
|
|
||||||
*/
|
|
||||||
|
|
||||||
var element;
|
var element;
|
||||||
if (!options.screen && options.parent) {
|
if (!options.screen && options.parent) {
|
||||||
element = options.parent;
|
element = options.parent;
|
||||||
|
|
Loading…
Reference in New Issue