{"action":"closed","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/1760","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/1760/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/1760/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/1760/events","html_url":"https://github.com/ractivejs/ractive/issues/1760","id":59412313,"number":1760,"title":"Resetting back to a predefined 'state'","user":{"login":"aethant","id":47235,"avatar_url":"https://avatars.githubusercontent.com/u/47235?v=3","gravatar_id":"","url":"https://api.github.com/users/aethant","html_url":"https://github.com/aethant","followers_url":"https://api.github.com/users/aethant/followers","following_url":"https://api.github.com/users/aethant/following{/other_user}","gists_url":"https://api.github.com/users/aethant/gists{/gist_id}","starred_url":"https://api.github.com/users/aethant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aethant/subscriptions","organizations_url":"https://api.github.com/users/aethant/orgs","repos_url":"https://api.github.com/users/aethant/repos","events_url":"https://api.github.com/users/aethant/events{/privacy}","received_events_url":"https://api.github.com/users/aethant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ractivejs/ractive/labels/pending-clarification","name":"pending-clarification","color":"eeeeee"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ractivejs/ractive/milestones/5","html_url":"https://github.com/ractivejs/ractive/milestones/unknown/unspecified","labels_url":"https://api.github.com/repos/ractivejs/ractive/milestones/5/labels","id":698095,"number":5,"title":"unknown/unspecified","description":"","creator":{"login":"Rich-Harris","id":1162160,"avatar_url":"https://avatars.githubusercontent.com/u/1162160?v=3","gravatar_id":"","url":"https://api.github.com/users/Rich-Harris","html_url":"https://github.com/Rich-Harris","followers_url":"https://api.github.com/users/Rich-Harris/followers","following_url":"https://api.github.com/users/Rich-Harris/following{/other_user}","gists_url":"https://api.github.com/users/Rich-Harris/gists{/gist_id}","starred_url":"https://api.github.com/users/Rich-Harris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rich-Harris/subscriptions","organizations_url":"https://api.github.com/users/Rich-Harris/orgs","repos_url":"https://api.github.com/users/Rich-Harris/repos","events_url":"https://api.github.com/users/Rich-Harris/events{/privacy}","received_events_url":"https://api.github.com/users/Rich-Harris/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":6,"state":"open","created_at":"2014-06-22T22:34:51Z","updated_at":"2015-03-17T18:03:09Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-03-01T19:03:31Z","updated_at":"2015-03-17T18:03:09Z","closed_at":"2015-03-17T18:03:09Z","body":"Hi, I'm continuing this from SO (http://stackoverflow.com/questions/28769383/ractive-js-animation-was-not-found) per @Rich-Harris suggestion.\r\n\r\nRight now, I have a Ractive-based form that has a default 'state', which changes based on user input (if x, then this, etc.) When the user backs out programmatically, I'm using ractive.reset() to reset the data on the Ractive instance. However, as I currently understand it, I can set things for data to be reset to (for instance: .reset({foo:\"bar\"}) ). \r\n\r\nIs there a way for me to define a preset \"default\" state for data and revert to it. If not, is this something that would be feasible to add into Ractive? Or am I missing an obvious way to do this?"}}