{"action":"closed","issue":{"url":"https://api.github.com/repos/canjs/can-stache/issues/435","repository_url":"https://api.github.com/repos/canjs/can-stache","labels_url":"https://api.github.com/repos/canjs/can-stache/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/canjs/can-stache/issues/435/comments","events_url":"https://api.github.com/repos/canjs/can-stache/issues/435/events","html_url":"https://github.com/canjs/can-stache/issues/435","id":291936508,"number":435,"title":"major: the default helper should be able to be called as a function","user":{"login":"phillipskevin","id":5851984,"avatar_url":"https://avatars2.githubusercontent.com/u/5851984?v=4","gravatar_id":"","url":"https://api.github.com/users/phillipskevin","html_url":"https://github.com/phillipskevin","followers_url":"https://api.github.com/users/phillipskevin/followers","following_url":"https://api.github.com/users/phillipskevin/following{/other_user}","gists_url":"https://api.github.com/users/phillipskevin/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipskevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipskevin/subscriptions","organizations_url":"https://api.github.com/users/phillipskevin/orgs","repos_url":"https://api.github.com/users/phillipskevin/repos","events_url":"https://api.github.com/users/phillipskevin/events{/privacy}","received_events_url":"https://api.github.com/users/phillipskevin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-26T15:28:55Z","updated_at":"2018-02-11T04:07:45Z","closed_at":"2018-02-11T04:07:45Z","author_association":"CONTRIBUTOR","body":"As shown on https://canjs.github.io/next/doc/can-stache.helpers.default.html, this should work:\r\n\r\n\r\n```\r\n{{#switch(user.type)}}\r\n    ...\r\n    {{#default()}}\r\n        ...\r\n    {{/default}}\r\n{{/switch}}\r\n```"}}
{"actor":{"display_login":"phillipskevin"}}