Card.prototype._clear = function(flags) { flags = myutil.toFlags(flags); if (myutil.flag(flags, 'all')) { clearableProps.forEach(myutil.unset.bind(this)); } else if (myutil.flag(flags, 'action')) { this._clearAction(); } };
Window.prototype._clear = function(flags_) { var flags = myutil.toFlags(flags_); if (myutil.flag(flags, 'action')) { this._clearAction(); } if (myutil.flag(flags, 'status')) { this._clearStatus(); } if (flags_ === true || flags_ === undefined) { Propable.prototype._clear.call(this); } };
Window.prototype._clear = function(flags) { flags = myutil.toFlags(flags); if (myutil.flag(flags, 'action')) { this._clearAction(); } };