Skip to content

Instantly share code, notes, and snippets.

@pgdaniel
Created July 27, 2014 01:28
Show Gist options
  • Select an option

  • Save pgdaniel/42af6918cad4ec4472b7 to your computer and use it in GitHub Desktop.

Select an option

Save pgdaniel/42af6918cad4ec4472b7 to your computer and use it in GitHub Desktop.
craig
class window.EntryDate
@entryDate: null
@startTime: null
constructor:(entryDate) ->
@entryDate = +new Date() / 1000 unless entryDate?
@startTime = entryDate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment