Merge pull request #1918 from acid-chicken/master

Minify
This commit is contained in:
syuilo 2018-07-18 01:47:38 +09:00 committed by GitHub
commit eb4aac3902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -35,10 +35,7 @@ import Vue from 'vue';
const eachMonthDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function isLeapYear(year) {
return (year % 400 == 0) ? true :
(year % 100 == 0) ? false :
(year % 4 == 0) ? true :
false;
return !(year % (year % 25 ? 4 : 16));
}
export default Vue.extend({