Skip to content

Commit

Permalink
Object.freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
郑飞杰 committed Nov 19, 2019
1 parent 5e1c950 commit b6c8bfe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/vue-timer-countdown.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-timer-countdown.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-timer-countdown.iife.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"babelrc-rollup": "^3.0.0",
"rollup": "^1.26.0",
"rollup": "^1.27.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-terser": "^5.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/vue-timer-countdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
second: 0,
// 每秒执行(实例)
setIntervalInstance: { stop () {} }
setIntervalInstance: Object.freeze({ stop: () => {} })
}
},
computed: {
Expand Down

0 comments on commit b6c8bfe

Please sign in to comment.