dist/zzsper.js
// here we use the event proxy instead of binding each date dom
here we use the event proxy instead of binding each date dom
here we use the event proxy instead of binding each date dom
function dDsRegistClickEv(datas, opts) {
  var ymDs = datas.doms.ymDs;
  var cls_date = datas.opts.cls_date;
  for (var y in ymDs) {
    var ms = ymDs[y];
    for (var m in ms) {
      var mDoms = ms[m];
      mDoms.mCD.addEventListener('click', function (ev) {
        var dom = ev.target;
        if ((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__.default)(dom.classList).includes(cls_date[0])) {
          handleSelectDate(dom, datas, opts);
        }
      });
    }
  }
}
function dDsRegistClickEv ( datas , opts ) { var ymDs = datas . doms . ymDs ; var cls_date = datas . opts . cls_date ; for ( var y in ymDs ) { var ms = ymDs [ y ] ; for ( var m in ms ) { var mDoms = ms [ m ] ; mDoms . mCD . addEventListener ( 'click' , function ( ev ) { var dom = ev . target ; if ( ( 0 , _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ . default ) ( dom . classList ) . includes ( cls_date [ 0 ] ) ) { handleSelectDate ( dom , datas , opts ) ; } } ) ; } } }
here we use the event proxy instead of binding each date dom
here we use the event proxy instead of binding each date dom