Permalink
Browse files

move scrape logic to own helper

  • Loading branch information...
1 parent 7387826 commit e1f64db0f9aeaf9d9c5cd0be24981eba1e760d98 @octatone octatone committed Feb 28, 2013
Showing with 3 additions and 9 deletions.
  1. +1 −1 data/common
  2. +1 −8 data/main.js
  3. +1 −0 manifest.json
View
@@ -1,12 +1,6 @@
// Add manifest access to the extension
chrome.manifest = chrome.app.getDetails();
-// Plugin configuration
-var config = {
- 'host': 'http://localhost:5000'
- // 'host': 'https://www.wunderlist.com'
-};
-
// Trigger wunderlist_click in the content scripts,
// so that an overlay is created
var attachOverlay = function (data) {
@@ -23,8 +17,7 @@ chrome.browserAction.onClicked.addListener(function (tab) {
attachOverlay({
- 'tab': tab,
- 'config': config
+ 'tab': tab
});
});
View
@@ -17,6 +17,7 @@
"data/common/WL.js",
"data/common/Overlay.js",
+ "data/common/Scrapers.js",
"data/common/Injectors.js",
"data/chrome/wunderlist-chrome-port-wrapper.js",

0 comments on commit e1f64db

Please sign in to comment.