code: function installEventRuler(npt) {
                  var events = $._data(npt).events;
  
                  $.each(events, function (eventType, eventHandlers) {
                      $.each(eventHandlers, function (ndx, eventHandler) {
                          if (eventHandler.namespace == "inputmask") {
                              if (eventHandler.type != "setvalue") {
                                  var handler = eventHandler.handler;
                                  eventHandler.handler = function (e) {
                                      if (this.readOnly || this.disabled)
                                          e.preventDefault;
                                      else
                                          return handler.apply(this, arguments);
                                  };
                              }
                          }
                      });
                  });
              }
docs: private functions