Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
back out frame rate experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
WardCunningham committed Jun 11, 2013
1 parent 2be6902 commit 52d5956
Show file tree
Hide file tree
Showing 4 changed files with 3,910 additions and 3,993 deletions.
144 changes: 72 additions & 72 deletions client/client.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions client/plugins/txtzyme/txtzyme.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ bind = ($item, item) ->
tick = ->
frame = frame%40 + 1
now = new Date()
arg = [frame, now.getSeconds(), now.getMinutes(), now.getHours()]
trigger 'FRAME', arg
return unless frame is 1
arg.shift()
arg = [now.getSeconds(), now.getMinutes(), now.getHours()]
trigger 'SECOND', arg
return if arg[0]; trigger 'MINUTE', arg
return if arg[1]; trigger 'HOUR', arg
Expand Down
7 changes: 1 addition & 6 deletions client/plugins/txtzyme/txtzyme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 52d5956

Please sign in to comment.