smaller fixes
This commit is contained in:
parent
68579115b8
commit
8caecd05d2
3 changed files with 3 additions and 3 deletions
|
@ -7,4 +7,4 @@ before_script:
|
|||
- npm install -g web-ext
|
||||
script:
|
||||
- jshint js/
|
||||
- web-ext lint --warnings-as-errors --ignore-files "libs/*" "**/*.sh"
|
||||
- web-ext lint --warnings-as-errors --ignore-files "libs/*" "docs/" "**/*.sh"
|
|
@ -150,7 +150,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
handleTrackingCode: function() {
|
||||
var piwikURL = encodeURI(popup.el.piwikURL.value);
|
||||
if (!piwikURL.endsWith("/")) {
|
||||
piwikURL += "/"
|
||||
piwikURL += "/";
|
||||
}
|
||||
var siteID = parseInt(popup.el.siteID.value, 10);
|
||||
if (!siteID || !piwikURL) {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"copy": "bash copy.sh",
|
||||
"build": "web-ext build --ignore-files '**/*.sh'"
|
||||
"build": "web-ext build --ignore-files '**/*.sh' 'docs/'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Reference in a new issue