Skip to content

Commit

Permalink
new-parens
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Nov 23, 2024
1 parent fbea75e commit 97892ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"jsdoc/require-asterisk-prefix": "warn",
"mediawiki/class-doc": "warn",
"new-cap": "warn",
"new-parens": "warn",
"no-jquery/no-constructor-attributes": "warn",
"no-jquery/no-each-util": "warn",
"no-jquery/no-extend": "warn",
Expand Down
2 changes: 1 addition & 1 deletion morebits.js
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ Morebits.date = function() {

if (!this._d) {
// Try standard date
this._d = new (Function.prototype.bind.apply(Date, [Date].concat(args)));
this._d = new (Function.prototype.bind.apply(Date, [Date].concat(args)))();
}

// Still no?
Expand Down

0 comments on commit 97892ea

Please sign in to comment.