Typo fix: remove unnecessary comments

This commit is contained in:
over
2015-10-13 13:18:23 +06:00
parent 012d0861c9
commit b73625faa0

View File

@@ -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