{"action":"created","issue":{"url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133","labels_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/comments","events_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133/events","html_url":"https://github.com/ManuelDeLeon/viewmodel/issues/133","id":121447433,"number":133,"title":"class switch","user":{"login":"daveeel","id":163661,"avatar_url":"https://avatars.githubusercontent.com/u/163661?v=3","gravatar_id":"","url":"https://api.github.com/users/daveeel","html_url":"https://github.com/daveeel","followers_url":"https://api.github.com/users/daveeel/followers","following_url":"https://api.github.com/users/daveeel/following{/other_user}","gists_url":"https://api.github.com/users/daveeel/gists{/gist_id}","starred_url":"https://api.github.com/users/daveeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveeel/subscriptions","organizations_url":"https://api.github.com/users/daveeel/orgs","repos_url":"https://api.github.com/users/daveeel/repos","events_url":"https://api.github.com/users/daveeel/events{/privacy}","received_events_url":"https://api.github.com/users/daveeel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-10T10:05:34Z","updated_at":"2015-12-11T01:20:34Z","closed_at":null,"body":"I have something like the following. It's simply to switch different icon on one condition\r\n~~~\r\n.item-media\r\n  i($b=\"class: {ion-locked: gameLocked, ion-unlocked: gameOpen}\")\r\n~~~\r\ngameLocked and gameOpen are simple opposite conditions. Is it possible to do something like:\r\n~~~\r\n.item-media\r\n  i($b=\"class: {ion-locked: gameLocked, ion-unlocked: not gameLocked}\")\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/comments/163802521","html_url":"https://github.com/ManuelDeLeon/viewmodel/issues/133#issuecomment-163802521","issue_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/133","id":163802521,"user":{"login":"daveeel","id":163661,"avatar_url":"https://avatars.githubusercontent.com/u/163661?v=3","gravatar_id":"","url":"https://api.github.com/users/daveeel","html_url":"https://github.com/daveeel","followers_url":"https://api.github.com/users/daveeel/followers","following_url":"https://api.github.com/users/daveeel/following{/other_user}","gists_url":"https://api.github.com/users/daveeel/gists{/gist_id}","starred_url":"https://api.github.com/users/daveeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveeel/subscriptions","organizations_url":"https://api.github.com/users/daveeel/orgs","repos_url":"https://api.github.com/users/daveeel/repos","events_url":"https://api.github.com/users/daveeel/events{/privacy}","received_events_url":"https://api.github.com/users/daveeel/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T01:20:34Z","updated_at":"2015-12-11T01:20:34Z","body":"Just tested and found that parameters of vm function call at binding only accepts string. Object is always undefined and array will results in unexpected token error. Are they true function call or sanitised ? "}}