We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9f662 commit c621ff2Copy full SHA for c621ff2
1 file changed
ljswitchboard-window_manager/lib/window_manager.js
@@ -521,6 +521,11 @@ function createWindowManager() {
521
522
return defered.promise;
523
};
524
+
525
+ this.linkOutput = function(console) {
526
+ global.console = console;
527
+ }
528
529
var self = this;
530
}
531
util.inherits(createWindowManager, EventEmitter);
@@ -542,10 +547,8 @@ if(DEBUG_WINDOW_EVENT_LIST) {
542
547
});
543
548
544
549
545
-exports.linkOutput = function(console) {
546
- global.console = console;
-}
550
exports.windowManager = WINDOW_MANAGER;
551
+exports.linkOutput = WINDOW_MANAGER.linkOutput;
552
exports.open = WINDOW_MANAGER.openWindow;
553
exports.openManagedApps = WINDOW_MANAGER.openManagedApps;
554
exports.addWindow = WINDOW_MANAGER.addWindow;
0 commit comments