Merge pull request #2009 from acid-chicken/acid-chicken-patch-1

Minify Mk-II
This commit is contained in:
syuilo 2018-07-27 18:29:24 +09:00 committed by GitHub
commit a880f5cbb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +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 % (year % 25 ? 4 : 16));
return !(year & (year % 25 ? 3 : 5));
}
export default Vue.extend({