Skip to content

Commit 07b8ce9

Browse files
committed
Update build
1 parent 4955cbf commit 07b8ce9

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

dist/vue2-filters.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,16 @@ function number_number(value, format, options) {
700700
return config.sign + int + fraction;
701701
}
702702

703+
Math.sign = function (x) {
704+
x = +x;
705+
706+
if (x === 0 || isNaN(x)) {
707+
return x;
708+
}
709+
710+
return x > 0 ? 1 : -1;
711+
};
712+
703713
function parseNumber(num) {
704714
return {
705715
float: Math.abs(parseFloat(num)),

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.

0 commit comments

Comments
 (0)