code: function getSelectorFromElement($element) {
          var selector = $element.data('target'),
              $selector = void 0;
  
          if (!selector) {
              selector = $element.attr('href') || '';
              selector = /^#[a-z]/i.test(selector) ? selector : null;
          }
          $selector = $(selector);
          if ($selector.length === 0) {
              return $selector;
          }
  
          if (!$selector.data(DateTimePicker.DATA_KEY)) {
              $.extend({}, $selector.data(), $(this).data());
          }
  
          return $selector;
      }
docs: eslint-disable-line no-unused-vars ReSharper disable once InconsistentNaming