Skip to content

Commit

Permalink
Added the generated js file with both signals.coffee and impulse.coffee.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Néhémie committed Nov 21, 2011
1 parent 90de7a0 commit ec2e39a
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 5 deletions.
4 changes: 2 additions & 2 deletions impulse.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Impulse extends Signal
t = @getTime() t = @getTime()
s = ( t - @time ) * @timeScale s = ( t - @time ) * @timeScale


@dispatch(s,s/1000,t) @dispatch s, s / 1000, t
@initRun() @initRun()


window.Impulse = Impulse if window? then window.Impulse = Impulse
3 changes: 1 addition & 2 deletions signals.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ class Signal


if pA < pB then 1 else if pB < pA then -1 else 0 if pA < pB then 1 else if pB < pA then -1 else 0


if window? if window? then window.Signal = Signal
window.Signal = Signal
147 changes: 147 additions & 0 deletions signals.js

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

3 changes: 2 additions & 1 deletion test-impulse.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -295,4 +295,5 @@ setTimeout ->


start() start()
, 100 , 100
, 1000 , 1000

0 comments on commit ec2e39a

Please sign in to comment.