Bug fixes and code cleanup

With a lot of help from @robinnorth
This commit is contained in:
Behind The Math
2018-01-21 14:16:57 -05:00
parent cb0a7cd850
commit ff6f9b36ca
4 changed files with 19 additions and 12 deletions

View File

@@ -38,7 +38,7 @@
"lint": "jscs . && jshint . --exclude-path .gitignore",
"standalone": "browserify index.js --standalone Pjax > pjax.js",
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
"tests": "tape -r ./tests/index.js ./tests/**/*.js",
"tests": "tape -r ./tests/setup.js ./tests/**/*.js",
"test": "npm run lint && npm run tests | tap-spec",
"coverage-tests": "npm run tests | tap-nyc",
"coverage": "nyc -x \"tests/**\" npm run coverage-tests",