code: function setConfig() {
    var get = document.getElementById.bind(document);
    koyomi.defaultFormat = get('defaultFormat').value;
    koyomi.openOnHoliday = get('openOnHoliday').value === 'true';
    koyomi.regularHoliday= get('regularHoliday').value;
    koyomi.seasonHoliday = get('seasonHoliday').value;
    koyomi.startMonth    = +get('startMonth').value;
    koyomi.startWeek     = get('startWeek').value;
    load(true);
  }
docs: 設定変更