Skip to content

Commit c621ff2

Browse files
author
rolsen
committed
ljswitchboard-window_manager: Adding linkOutput to window_manager exports in the standard way..
1 parent 3b9f662 commit c621ff2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

ljswitchboard-window_manager/lib/window_manager.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,11 @@ function createWindowManager() {
521521

522522
return defered.promise;
523523
};
524+
525+
this.linkOutput = function(console) {
526+
global.console = console;
527+
}
528+
524529
var self = this;
525530
}
526531
util.inherits(createWindowManager, EventEmitter);
@@ -542,10 +547,8 @@ if(DEBUG_WINDOW_EVENT_LIST) {
542547
});
543548
});
544549
}
545-
exports.linkOutput = function(console) {
546-
global.console = console;
547-
}
548550
exports.windowManager = WINDOW_MANAGER;
551+
exports.linkOutput = WINDOW_MANAGER.linkOutput;
549552
exports.open = WINDOW_MANAGER.openWindow;
550553
exports.openManagedApps = WINDOW_MANAGER.openManagedApps;
551554
exports.addWindow = WINDOW_MANAGER.addWindow;

0 commit comments

Comments
 (0)