Closed opus1269 closed 8 years ago
On line 170 the function is declared as:
_formatTime(hour, minute) { var period = (hour % 24) < 12 ? 'AM' : 'PM'; hour = hour % 12 || 12; minute = ('0' + minute).substr(-2); return hour + ':' + minute + ' ' + period; },
It passes my linter but it crashes uglify at the opening ( . I think it should be:
_formatTime: function(hour, minute) { var period = (hour % 24) < 12 ? 'AM' : 'PM'; hour = hour % 12 || 12; minute = ('0' + minute).substr(-2); return hour + ':' + minute + ' ' + period; },
Fixed in master.
On line 170 the function is declared as:
It passes my linter but it crashes uglify at the opening ( . I think it should be: