Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
3 additions
and 15 deletions.
@@ -1,14 +1,2 @@ | ||
layer = new Layer | ||
layer.states.add | ||
stateA: {backgroundColor:"red", x:500} | ||
|
||
# layer.scroll.should.equal false | ||
# layer.x.should.equal 0 | ||
|
||
layer.states.on Events.StateDidSwitch, -> | ||
print "done", layer.backgroundColor | ||
|
||
|
||
|
||
layer.states.switch "stateA", {curve:"ease-in-out", time:1} | ||
|
||
Framer.Device = new Framer.DeviceView() | ||
Framer.Device.setupContext() |