Skip to content

Commit c301f9c

Browse files
committed
Merge branch 'dev'
2 parents 4d25c6e + 488d3dc commit c301f9c

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Simply include `vue2-filters` after Vue and it will install itself automatically
1717

1818
```html
1919
<script src="https://unpkg.com/vue/dist/vue.js"></script>
20-
<script src="https://cdn.jsdelivr.net/vue2-filters/0.1.6/vue2-filters.min.js"></script>
20+
<script src="https://cdn.jsdelivr.net/vue2-filters/0.1.7/vue2-filters.min.js"></script>
2121
```
2222

2323
### NPM

dist/vue2-filters.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ util.convertArray = function (value) {
173173
}
174174
return res
175175
} else {
176-
if (typeof value === 'number' && !isNaN(value)) {
177-
value = range(value)
178-
}
179176
return value || []
180177
}
181178
}

dist/vue2-filters.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue2-filters",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "The list of standard filters Vue.js 1.* adapted for use in Vue.js 2.*",
55
"main": "dist/vue2-filters.js",
66
"scripts": {

src/util/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ util.convertArray = function (value) {
9292
}
9393
return res
9494
} else {
95-
if (typeof value === 'number' && !isNaN(value)) {
96-
value = range(value)
97-
}
9895
return value || []
9996
}
10097
}

0 commit comments

Comments
 (0)