Skip to content

Commit

Permalink
Wasn't activating on urls without the "www", doh!
Browse files Browse the repository at this point in the history
  • Loading branch information
dutts committed Mar 22, 2015
1 parent d58abf3 commit 1b6e634
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions addon/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ excludeNoDataLabel.appendChild(excludeNoDataCheckbox);
$("div.restaurants").prepend(config);

restaurantEntries.each(function () {
alert("foo");
var _this = $(this);
var name = $("h2.name a:first", this).text().trim();
var address = $("p.address:first", this)
Expand Down
2 changes: 1 addition & 1 deletion addon/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var pageMod = require("sdk/page-mod");
var self = require("sdk/self");

pageMod.PageMod({
include: "http://www.just-eat.co.uk/area/*",
include: ["http://www.just-eat.co.uk/area/*", "http://just-eat.co.uk/area/*"],
//include: "http://localhost/*",
contentStyleFile: [self.data.url("jquery-ui-1.11.4/jquery-ui.min.css"), self.data.url("nomorvom.css")],
contentScriptOptions: {prefixDataURI: self.data.url("")},
Expand Down
Binary file modified addon/nomorvom.xpi
Binary file not shown.
2 changes: 1 addition & 1 deletion addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"description": "Never eat from a dodgy takeaway again. Display food.gov.uk food hygiene scores in your Just Eat search results.",
"author": "Richard Dutton",
"license": "MPL 2.0",
"version": "0.10"
"version": "0.11"
}

0 comments on commit 1b6e634

Please sign in to comment.