{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/1697","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/1697/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/1697/events","html_url":"https://github.com/ractivejs/ractive/issues/1697","id":56902851,"number":1697,"title":"ractive.set can use funciton callback. and so on.","user":{"login":"chen844033231","id":5764308,"avatar_url":"https://avatars.githubusercontent.com/u/5764308?v=3","gravatar_id":"","url":"https://api.github.com/users/chen844033231","html_url":"https://github.com/chen844033231","followers_url":"https://api.github.com/users/chen844033231/followers","following_url":"https://api.github.com/users/chen844033231/following{/other_user}","gists_url":"https://api.github.com/users/chen844033231/gists{/gist_id}","starred_url":"https://api.github.com/users/chen844033231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chen844033231/subscriptions","organizations_url":"https://api.github.com/users/chen844033231/orgs","repos_url":"https://api.github.com/users/chen844033231/repos","events_url":"https://api.github.com/users/chen844033231/events{/privacy}","received_events_url":"https://api.github.com/users/chen844033231/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-07T08:19:28Z","updated_at":"2015-02-07T16:44:25Z","closed_at":null,"body":"like jquery.Ractive should be add function to set variable or so on like that.\r\n```javascript\r\nractive.set( \"name\", function( oldName ) {\r\n //oldName value is the name. and i can do something use oldName . like name+'!';\r\nreturn 'hello' + oldName + '!';\r\n})\r\n```\r\ni think , that is awesome. is it?"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/73371673","html_url":"https://github.com/ractivejs/ractive/issues/1697#issuecomment-73371673","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/1697","id":73371673,"user":{"login":"martypdx","id":478864,"avatar_url":"https://avatars.githubusercontent.com/u/478864?v=3","gravatar_id":"","url":"https://api.github.com/users/martypdx","html_url":"https://github.com/martypdx","followers_url":"https://api.github.com/users/martypdx/followers","following_url":"https://api.github.com/users/martypdx/following{/other_user}","gists_url":"https://api.github.com/users/martypdx/gists{/gist_id}","starred_url":"https://api.github.com/users/martypdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martypdx/subscriptions","organizations_url":"https://api.github.com/users/martypdx/orgs","repos_url":"https://api.github.com/users/martypdx/repos","events_url":"https://api.github.com/users/martypdx/events{/privacy}","received_events_url":"https://api.github.com/users/martypdx/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T16:44:25Z","updated_at":"2015-02-07T16:44:25Z","body":"You can also choose handlers in the template:\r\n\r\n```html\r\n{{#items:i}}\r\n  <button on-click='{{level===\"master\"?\"masterLevel\":\"generalLevel\"}}:{{i}}'>Select</button>\r\n{{/items}}\r\n```"}}