From 55f440c98dad4a4d5e1ab7c879c008c54a71555c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 Mar 2014 16:10:46 -0400 Subject: Remove YAML library Since I'm now outputting YAML manually for better looks, get rid of the YAML serialiser I included previously. --- chrome-get-urls-from-tabs-in-windows.js | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'chrome-get-urls-from-tabs-in-windows.js') diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js index eb2f3c1..5516edd 100644 --- a/chrome-get-urls-from-tabs-in-windows.js +++ b/chrome-get-urls-from-tabs-in-windows.js @@ -13,20 +13,6 @@ chrome.windows.getAll({populate:true}, function(windows){ var chrome_tabs = []; windows.forEach(function(window){ - // var window_name = 'Window ' + w_index; - // - // window.tabs.forEach(function(tab){ - // var window_output = {}; - // window_output[window_name] = [ - // { - // page_title: tab.title, - // url: tab.url - // } - // ]; - // - // chrome_tabs.push(window_output); - // }); - textarea.value += "- Window " + w_index + ":\n"; window.tabs.forEach(function(tab){ @@ -36,10 +22,6 @@ chrome.windows.getAll({populate:true}, function(windows){ textarea.value += "\n"; - // console.log(chrome_tabs); - // console.log(YAML.stringify(chrome_tabs)); - //textarea.value = YAML.stringify(chrome_tabs); - w_index++; }); } -- cgit v1.2.3