1
0
Fork 0

smaller fixes

This commit is contained in:
Lukas Winkler 2017-09-01 20:29:30 +02:00
parent 68579115b8
commit 8caecd05d2
3 changed files with 3 additions and 3 deletions

View file

@ -7,4 +7,4 @@ before_script:
- npm install -g web-ext - npm install -g web-ext
script: script:
- jshint js/ - jshint js/
- web-ext lint --warnings-as-errors --ignore-files "libs/*" "**/*.sh" - web-ext lint --warnings-as-errors --ignore-files "libs/*" "docs/" "**/*.sh"

View file

@ -150,7 +150,7 @@ document.addEventListener('DOMContentLoaded', function() {
handleTrackingCode: function() { handleTrackingCode: function() {
var piwikURL = encodeURI(popup.el.piwikURL.value); var piwikURL = encodeURI(popup.el.piwikURL.value);
if (!piwikURL.endsWith("/")) { if (!piwikURL.endsWith("/")) {
piwikURL += "/" piwikURL += "/";
} }
var siteID = parseInt(popup.el.siteID.value, 10); var siteID = parseInt(popup.el.siteID.value, 10);
if (!siteID || !piwikURL) { if (!siteID || !piwikURL) {

View file

@ -10,7 +10,7 @@
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
"copy": "bash copy.sh", "copy": "bash copy.sh",
"build": "web-ext build --ignore-files '**/*.sh'" "build": "web-ext build --ignore-files '**/*.sh' 'docs/'"
}, },
"repository": { "repository": {
"type": "git", "type": "git",