1
Fork 0

Fixed problem with content scripts

This commit is contained in:
Jake Howard 2015-08-21 09:09:22 +01:00
parent 55c83c241d
commit 83c700688a

View file

@ -5,7 +5,7 @@ var sites = require("data/site-decoder.json").sites;
for (var i = 0; i < sites.length; i++) { for (var i = 0; i < sites.length; i++) {
pattern = Object.keys(sites[i])[0]; pattern = Object.keys(sites[i])[0];
script = sites[i][pattern]; script = sites[i][pattern];
content_scripts = ["lib/jquery.js", "image_lookup.js", "injections/" + script]; content_scripts = ["./lib/jquery.js", "./image-lookup.js", "./injections/" + script];
console.log('script ' + script); console.log('script ' + script);
console.log('pattern ' + pattern); console.log('pattern ' + pattern);
console.log('Content Scripts: ' + content_scripts); console.log('Content Scripts: ' + content_scripts);