{"action":"created","issue":{"url":"https://api.github.com/repos/javadev/underscore-java/issues/47","repository_url":"https://api.github.com/repos/javadev/underscore-java","labels_url":"https://api.github.com/repos/javadev/underscore-java/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/javadev/underscore-java/issues/47/comments","events_url":"https://api.github.com/repos/javadev/underscore-java/issues/47/events","html_url":"https://github.com/javadev/underscore-java/issues/47","id":156459940,"number":47,"title":"Could you please atleast a simple document to use the underscore template API.","user":{"login":"FirstSamurai","id":2253672,"avatar_url":"https://avatars.githubusercontent.com/u/2253672?v=3","gravatar_id":"","url":"https://api.github.com/users/FirstSamurai","html_url":"https://github.com/FirstSamurai","followers_url":"https://api.github.com/users/FirstSamurai/followers","following_url":"https://api.github.com/users/FirstSamurai/following{/other_user}","gists_url":"https://api.github.com/users/FirstSamurai/gists{/gist_id}","starred_url":"https://api.github.com/users/FirstSamurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirstSamurai/subscriptions","organizations_url":"https://api.github.com/users/FirstSamurai/orgs","repos_url":"https://api.github.com/users/FirstSamurai/repos","events_url":"https://api.github.com/users/FirstSamurai/events{/privacy}","received_events_url":"https://api.github.com/users/FirstSamurai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T09:25:22Z","updated_at":"2016-05-24T11:09:20Z","closed_at":null,"body":"Like basic usage of the template in java. Eg: \r\n\r\n        <h2>\r\n            <%- listTitle %>\r\n        </h2>\r\n        <ul>\r\n            <% _.each( listItems, function( listItem ){ %>\r\n                <li>\r\n                    <%- listItem.name %>\r\n                    <% if ( listItem.hasOlympicGold ){ %>\r\n                        <em>*</em>\r\n                    <% } %>\r\n                </li>\r\n            <% }); %>\r\n        </ul>\r\n\r\n        <% var showFootnote = _.any(\r\n            _.pluck( listItems, \"hasOlympicGold\" )\r\n        ); %>\r\n\r\n        <% if ( showFootnote ){ %>\r\n            <p style=\"font-size: 12px ;\">\r\n                <em>* Olympic gold medalist</em>\r\n            </p>\r\n        <% } %>\r\n\r\n\r\nIf the above template can be manipulated using the api, thank you so much."},"comment":{"url":"https://api.github.com/repos/javadev/underscore-java/issues/comments/221237449","html_url":"https://github.com/javadev/underscore-java/issues/47#issuecomment-221237449","issue_url":"https://api.github.com/repos/javadev/underscore-java/issues/47","id":221237449,"user":{"login":"javadev","id":348496,"avatar_url":"https://avatars.githubusercontent.com/u/348496?v=3","gravatar_id":"","url":"https://api.github.com/users/javadev","html_url":"https://github.com/javadev","followers_url":"https://api.github.com/users/javadev/followers","following_url":"https://api.github.com/users/javadev/following{/other_user}","gists_url":"https://api.github.com/users/javadev/gists{/gist_id}","starred_url":"https://api.github.com/users/javadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javadev/subscriptions","organizations_url":"https://api.github.com/users/javadev/orgs","repos_url":"https://api.github.com/users/javadev/repos","events_url":"https://api.github.com/users/javadev/events{/privacy}","received_events_url":"https://api.github.com/users/javadev/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T11:09:20Z","updated_at":"2016-05-24T11:09:20Z","body":"It is not supported for now. You may try to use mustache.js java port.\r\nhttp://www.javarants.com/2010/05/03/the-ideal-web-application-templating-system/"}}
{"actor":{"display_login":"javadev"}}