fix: some syntax errors with the help of eslint
This commit is contained in:
parent
060f6461cb
commit
0c1f1d0beb
3 changed files with 19 additions and 4 deletions
|
@ -180,7 +180,7 @@ Date.prototype.getExpiry = function(param) {
|
|||
*/
|
||||
Date.prototype.equals = function(date, extend) {
|
||||
if (!extend)
|
||||
var extend = Date.ONEDAY;
|
||||
extend = Date.ONEDAY;
|
||||
switch (extend) {
|
||||
case Date.ONESECOND:
|
||||
if (this.getSeconds() != date.getSeconds())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue