mirror of
https://github.com/Screenly/Anthias.git
synced 2026-03-06 07:46:41 -05:00
Typo fix: remove unnecessary comments
This commit is contained in:
@@ -69,8 +69,6 @@ API.Asset = class Asset extends Backbone.Model
|
||||
active: =>
|
||||
if @get('is_enabled') and @get('start_date') and @get('end_date')
|
||||
at = now()
|
||||
# Provide correct format for Date.parse
|
||||
# Tell to browser that it is UTC + 0 (Z = zero)
|
||||
start_date = new Date(@get('start_date'));
|
||||
end_date = new Date(@get('end_date'));
|
||||
return start_date <= at <= end_date
|
||||
|
||||
Reference in New Issue
Block a user