Skip to content

Commit

Permalink
Merge 0345d12 into 8bc1942
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Dec 23, 2017
2 parents 8bc1942 + 0345d12 commit 4d23050
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ matrix:
allow_failures:
- node_js: node
script:
- make test-cov
- make test-browser
- npm test
- npm run test-browser
after_script:
- npm run coverage
- cat coverage/karma/*/lcov.info coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js > /dev/null 2>&1
env:
- CXX=g++-4.8
addons:
Expand Down
3 changes: 1 addition & 2 deletions js/src/booter.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ Booter.prototype.attach = function(sel) {
if (internal) {
links[i].onclick = this.startFunction;
}

}
}
}

};
Booter.prototype.navigate = function(url) {
var win = this.window;
if (!this.booted && win && win.document) {
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "index.js",
"scripts": {
"watch": "npm i && gulp watch",
"test": "mocha"
"test": "mocha",
"test-browser": "gulp testscript && karma start karma.conf.js --browsers=PhantomJS --single-run=true",
"coverage": "istanbul cover _mocha"
},
"repository": {
"type": "git",
Expand All @@ -19,6 +21,7 @@
"homepage": "https://github.com/eiriksm/orkjern_theme",
"devDependencies": {
"browserify": "^14.3.0",
"coveralls": "^3.0.0",
"gulp": "^3.8.11",
"gulp-autoprefixer": "2.2.0",
"gulp-closure-compiler": "^0.4.0",
Expand Down

0 comments on commit 4d23050

Please sign in to comment.