WebReflection / restyle

MIT License
168 stars 8 forks source link

Fix typos in transition example #3

Closed shawnbot closed 7 years ago

WebReflection commented 9 years ago

I think you fixed an intermediate step which goals is to indeed keep opacity to 0 ... or I don't understand your change?

shawnbot commented 9 years ago

Well, the comments in the original were on the wrong lines, and there was a }{ in between the properties rather than a comma, which is invalid regardless:

  to: [{
    height: 200 // will keep opacity '0'
  }{
    opacity: '1' // will keep height 200
  }],