{"action":"created","issue":{"url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/141","labels_url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/141/comments","events_url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/141/events","html_url":"https://github.com/julianlloyd/scrollReveal.js/issues/141","id":67461115,"number":141,"title":"Syntactic sugar no longer works in v2.2.0","user":{"login":"AmadeusW","id":1673956,"avatar_url":"https://avatars.githubusercontent.com/u/1673956?v=3","gravatar_id":"","url":"https://api.github.com/users/AmadeusW","html_url":"https://github.com/AmadeusW","followers_url":"https://api.github.com/users/AmadeusW/followers","following_url":"https://api.github.com/users/AmadeusW/following{/other_user}","gists_url":"https://api.github.com/users/AmadeusW/gists{/gist_id}","starred_url":"https://api.github.com/users/AmadeusW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmadeusW/subscriptions","organizations_url":"https://api.github.com/users/AmadeusW/orgs","repos_url":"https://api.github.com/users/AmadeusW/repos","events_url":"https://api.github.com/users/AmadeusW/events{/privacy}","received_events_url":"https://api.github.com/users/AmadeusW/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/labels/Question","name":"Question","color":"ffcc00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T22:08:39Z","updated_at":"2015-04-09T23:38:37Z","closed_at":null,"body":"I copied animation properties `data-sr=\"enter from right, move 50px, no reset\"` verbatim from an earlier project to the new project which uses scrollReveal.js **v2.2.0**. The original project used scrollReveal.js **v2.0.2**\r\n\r\nThe enter animation no longer worked:\r\n\r\nThis happened because scrollReveal tried to set invalid CSS style `translateundefined` instead of `translatex`\r\n\r\nI fixed it by changing the animation property to `data-sr=\"enter right, move 50px, no reset\"`\r\n\r\nDid you remove the option to use syntactic sugar, or is this a bug?"},"comment":{"url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/comments/91381840","html_url":"https://github.com/julianlloyd/scrollReveal.js/issues/141#issuecomment-91381840","issue_url":"https://api.github.com/repos/julianlloyd/scrollReveal.js/issues/141","id":91381840,"user":{"login":"julianlloyd","id":2044842,"avatar_url":"https://avatars.githubusercontent.com/u/2044842?v=3","gravatar_id":"","url":"https://api.github.com/users/julianlloyd","html_url":"https://github.com/julianlloyd","followers_url":"https://api.github.com/users/julianlloyd/followers","following_url":"https://api.github.com/users/julianlloyd/following{/other_user}","gists_url":"https://api.github.com/users/julianlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/julianlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianlloyd/subscriptions","organizations_url":"https://api.github.com/users/julianlloyd/orgs","repos_url":"https://api.github.com/users/julianlloyd/repos","events_url":"https://api.github.com/users/julianlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/julianlloyd/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T23:38:37Z","updated_at":"2015-04-09T23:38:37Z","body":"Great catch @AmadeusW \r\n\r\nI actually did remove the sugar as of `v2.2.0`. I noticed no issues in my cursory testing, so I thought it safe to remove, but clearly I missed some conflicts—the `enter` keyword in particular seems most affected by the loss of `from` or `from the`.\r\n\r\nThe sugar was a fun touch when I first launched, but the ScrollReveal declarations have grown more complicated (easing, rotation, etc.)—so I’ve been working to streamline things, including the removal of sugar and the double delay keywords (`wait` vs `after`) to just `wait`.\r\n\r\nWhat do you think? Bring the sugar back :+1: :-1: ?"}}