Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Mar 31, 2023
1 parent f1a4fbf commit d28513c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ var Base = Class.$extend({
* @param {Object} [options] options for `addEventListener`
*/
_bindEvent: function (id, element, evName, callback, options) {
if (options === undefined) options = false;
if (options === undefined) {
options = false;
}
this._unbindEvent(id);
this.__events[id] = {
evName: evName,
Expand Down

0 comments on commit d28513c

Please sign in to comment.