From 3e79a29a418996f87f133a838c32f7eae7134308 Mon Sep 17 00:00:00 2001 From: Ilana Segall Date: Mon, 29 Apr 2013 12:56:09 -0700 Subject: [PATCH] add rejected code ideas to brainstorm if they need revisiting --- doc/actions_brainstorm.txt | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/doc/actions_brainstorm.txt b/doc/actions_brainstorm.txt index 5c8fb11..838790a 100644 --- a/doc/actions_brainstorm.txt +++ b/doc/actions_brainstorm.txt @@ -47,6 +47,8 @@ tab dies - by x or by ctrl w or by window --> on startup, look at configuration +//getChromeWindow +//getOwnerWindow @@ -54,4 +56,35 @@ tab dies - by x or by ctrl w or by window looks like previous search urls look like search -(panorama) \ No newline at end of file +(panorama) + +/*let basicWinEvents = function(){ + windows.on('open', function onOpen(win) { + win = getMostRecentBrowserWindow(); + console.log(isBrowser(win)); + + if (!isBrowser(win)) return; + emit({ + "group": "windows", + "win_id": getOuterId(win) + }); + }); + windows.on('close', function(win) { + emit({ + "group": "windows", + "win_id": getOuterId(win) + }); + }); + windows.on('open', function(win) { + emit({ + "group": "windows", + "win_id": getOuterId(win) + }); + }); + windows.on('open', function(win) { + emit({ + "group": "windows", + "win_id": getOuterId(win) + }); + }); +}();*/ \ No newline at end of file