Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Commit

Permalink
[build] 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crossjs committed Jul 7, 2016
1 parent 14e4afe commit 464edd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ then
# commit
git add -A
git commit -m "[build] $VERSION"
# npm version $VERSION --message "[release] $VERSION"
npm version $VERSION --message "[release] $VERSION"

# publish
git push origin refs/tags/v$VERSION
git push
# npm publish
npm publish
fi
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuex-promise",
"version": "1.0.1",
"version": "1.0.2",
"description": ":two_hearts: A Promise Plugin for Vuex-FSA (fork of Vuex, with modifications for FSA compliant)",
"main": "dist/index.js",
"jsnext:main": "src/index.js",
Expand Down Expand Up @@ -61,7 +61,7 @@
"rollup-plugin-babel": "^2.4.0",
"uglify-js": "^2.5.0",
"vue": "^1.0.26",
"vuex": "^1.0.0-rc",
"vuex": "^1.0.0-rc.2",
"webpack": "^1.13.1",
"yargs": "^4.7.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function createPromise ({
console.log('[Promise] Vuex Promise Plugin Installed.')
}

store.on('mutation', ({ type, payload }) => {
store.subscribe(({ type, payload }) => {
if (hasPromise(payload)) {
store.dispatch({
type,
Expand Down

0 comments on commit 464edd8

Please sign in to comment.