From c318e013979743109350929c3b001592a1a3d5f0 Mon Sep 17 00:00:00 2001 From: Kevin Ongko Date: Mon, 9 Jan 2017 14:30:57 +0700 Subject: [PATCH 1/3] add min & max limiter --- .gitignore | 1 + package.json | 53 ++++++++++++++++++---------------- src/vue-numeric.vue | 69 ++++++++++++++++++++++++++++++++------------- 3 files changed, 79 insertions(+), 44 deletions(-) diff --git a/.gitignore b/.gitignore index c8f50f7..0db216b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ npm-debug.log +node_modules diff --git a/package.json b/package.json index aaf35d7..407f408 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,30 @@ { - "name": "vue-numeric", - "version": "1.0.2", - "description": "Numeric input component based on Vue", - "author": "Kevin Ongko", - "main": "src/vue-numeric.vue", - "repository": { - "type": "git", - "url": "git+https://github.com/kevinongko/vue-numeric.git" - }, - "bugs": { - "url": "https://github.com/kevinongko/vue-numeric/issues" - }, - "keywords": [ - "component", - "currency", - "input", - "text", - "number", - "numeric", - "separator", - "vue", - "vue.js" - ], - "homepage": "https://github.com/kevinongko/vue-numeric#readme", - "license": "MIT" + "name": "vue-numeric", + "version": "1.0.2", + "description": "Numeric input component based on Vue", + "author": "Kevin Ongko", + "main": "src/vue-numeric.vue", + "repository": { + "type": "git", + "url": "git+https://github.com/kevinongko/vue-numeric.git" + }, + "bugs": { + "url": "https://github.com/kevinongko/vue-numeric/issues" + }, + "keywords": [ + "component", + "currency", + "input", + "text", + "number", + "numeric", + "separator", + "vue", + "vue.js" + ], + "homepage": "https://github.com/kevinongko/vue-numeric#readme", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.4" + } } diff --git a/src/vue-numeric.vue b/src/vue-numeric.vue index 8a4a4ac..21cf69a 100644 --- a/src/vue-numeric.vue +++ b/src/vue-numeric.vue @@ -1,18 +1,15 @@ From cb097790584acea80e2aad4cb1167571d833b630 Mon Sep 17 00:00:00 2001 From: Kevin Ongko Date: Mon, 9 Jan 2017 14:49:59 +0700 Subject: [PATCH 2/3] fix number value --- package.json | 5 +---- src/vue-numeric.vue | 14 ++++++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 407f408..cd10f5a 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,5 @@ "vue.js" ], "homepage": "https://github.com/kevinongko/vue-numeric#readme", - "license": "MIT", - "dependencies": { - "lodash": "^4.17.4" - } + "license": "MIT" } diff --git a/src/vue-numeric.vue b/src/vue-numeric.vue index 21cf69a..103f77d 100644 --- a/src/vue-numeric.vue +++ b/src/vue-numeric.vue @@ -3,8 +3,6 @@ diff --git a/package.json b/package.json index cd10f5a..0c0726c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-numeric", - "version": "1.0.2", + "version": "1.1.0", "description": "Numeric input component based on Vue", "author": "Kevin Ongko", "main": "src/vue-numeric.vue", diff --git a/src/vue-numeric.vue b/src/vue-numeric.vue index 103f77d..a462a65 100644 --- a/src/vue-numeric.vue +++ b/src/vue-numeric.vue @@ -1,33 +1,36 @@ + \ No newline at end of file