diff --git a/package.json b/package.json index 7a89f0e..569b65d 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dist": "npm run dist:style && npm run dist:dev && npm run dist:prod", "lint": "eslint --fix --ext .js,.vue src", "unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run", - "test": "npm run unit", + "test": "npm run lint && npm run unit", "prepublish": "npm run dist" }, "repository": { @@ -63,6 +63,7 @@ "extract-text-webpack-plugin": "^2.0.0", "file-loader": "^0.8.5", "friendly-errors-webpack-plugin": "^1.6.1", + "function-bind": "^1.1.0", "gulp": "^3.9.1", "gulp-autoprefixer": "^3.1.1", "gulp-clean-css": "^2.0.13", diff --git a/src/components/breadcrumb/breadcrumb-item.vue b/src/components/breadcrumb/breadcrumb-item.vue index 5052883..0a7af61 100644 --- a/src/components/breadcrumb/breadcrumb-item.vue +++ b/src/components/breadcrumb/breadcrumb-item.vue @@ -26,7 +26,7 @@ return { separator: '', showSeparator: false - } + }; }, mounted () { this.showSeparator = this.$slots.separator !== undefined; -- libgit2 0.21.4