Skip to content

Commit

Permalink
Add depracated ‘state’ propertie on layer.states
Browse files Browse the repository at this point in the history
Signed-off-by: Niels van Hoorn <nvh@nvh.io>
  • Loading branch information
nvh committed Sep 15, 2016
1 parent cc93537 commit 8d510b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framer/LayerStates.coffee
Expand Up @@ -59,6 +59,8 @@ class exports.LayerStates
deprecatedProperty @, "switchInstant", "layer.switchInstant \"a\"", stateMachine, (layer) ->
(stateName) ->
layer.switchInstant stateName
deprecatedProperty @, "state", "layer.states.currentName", stateMachine, (layer) ->
layer.states.currentName
deprecatedProperty @, "all", "layer.stateNames", stateMachine, (layer) ->
layer.stateNames
deprecatedProperty @, "states", "layer.stateNames", stateMachine, (layer) ->
Expand Down

0 comments on commit 8d510b0

Please sign in to comment.