"root": true,
"parser": "babel-eslint",
"env": {
- "browser": true
+ "browser": true,
+ "jquery": true
},
"rules": {
"no-label-var": 2,
"no-shadow": 0,
"no-shadow-restricted-names": 2,
- "no-undef": 0,
+ "no-undef": 2,
"no-undefined": 0,
"no-undef-init": 2,
"no-unused-vars": 2,
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, () => {
$(this._element).one(Event.MOUSEUP_DISMISS, (event) => {
if ($(event.target).is(this._element)) {
- that._ignoreBackdropClick = true
+ this._ignoreBackdropClick = true
}
})
})