{"action":"created","issue":{"url":"https://api.github.com/repos/codepb/jquery-template/issues/106","repository_url":"https://api.github.com/repos/codepb/jquery-template","labels_url":"https://api.github.com/repos/codepb/jquery-template/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/codepb/jquery-template/issues/106/comments","events_url":"https://api.github.com/repos/codepb/jquery-template/issues/106/events","html_url":"https://github.com/codepb/jquery-template/issues/106","id":178005462,"number":106,"title":"How to load/bind JSON with nested/aggregated properties?","user":{"login":"xbatusayx","id":2167425,"avatar_url":"https://avatars.githubusercontent.com/u/2167425?v=3","gravatar_id":"","url":"https://api.github.com/users/xbatusayx","html_url":"https://github.com/xbatusayx","followers_url":"https://api.github.com/users/xbatusayx/followers","following_url":"https://api.github.com/users/xbatusayx/following{/other_user}","gists_url":"https://api.github.com/users/xbatusayx/gists{/gist_id}","starred_url":"https://api.github.com/users/xbatusayx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbatusayx/subscriptions","organizations_url":"https://api.github.com/users/xbatusayx/orgs","repos_url":"https://api.github.com/users/xbatusayx/repos","events_url":"https://api.github.com/users/xbatusayx/events{/privacy}","received_events_url":"https://api.github.com/users/xbatusayx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-20T09:05:54Z","updated_at":"2016-09-21T06:04:46Z","closed_at":null,"body":"eq. JSON object\r\n\r\n`var input = {\"id\":\"1\",\"name\",\"john\", \"messages\": [{\"msg_id\":\"1\",\"content\":\"Hello \"} , {\"msg_id\":\"2\",\"content\":\"World\"} ] };\r\n\r\n$('#messages').loadTemplate(\"templates/messages.html\",input ,{ append:true});`\r\n\r\nHow can I display \"messages\" in a loop ?\r\n\r\neq. \r\n\r\n`<p>Hello </p>\r\n<p>World</p>`\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/codepb/jquery-template/issues/comments/248519865","html_url":"https://github.com/codepb/jquery-template/issues/106#issuecomment-248519865","issue_url":"https://api.github.com/repos/codepb/jquery-template/issues/106","id":248519865,"user":{"login":"xbatusayx","id":2167425,"avatar_url":"https://avatars.githubusercontent.com/u/2167425?v=3","gravatar_id":"","url":"https://api.github.com/users/xbatusayx","html_url":"https://github.com/xbatusayx","followers_url":"https://api.github.com/users/xbatusayx/followers","following_url":"https://api.github.com/users/xbatusayx/following{/other_user}","gists_url":"https://api.github.com/users/xbatusayx/gists{/gist_id}","starred_url":"https://api.github.com/users/xbatusayx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbatusayx/subscriptions","organizations_url":"https://api.github.com/users/xbatusayx/orgs","repos_url":"https://api.github.com/users/xbatusayx/repos","events_url":"https://api.github.com/users/xbatusayx/events{/privacy}","received_events_url":"https://api.github.com/users/xbatusayx/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T06:04:46Z","updated_at":"2016-09-21T06:04:46Z","body":"@codepb \r\n\r\nI was able to solve the nested issue with this:\r\n\r\nhttp://jsfiddle.net/FxYE6/6/\r\n\r\nI saw 1 of your answer in your website.\r\n\r\nmy new question is this:\r\n\r\nis there a way to \r\n\r\n`<div data-content=\"details\" data-format=\"nestedTemplateFormatter\" data-format-options=\"#listTemplate\">`\r\n\r\nTo make data-format-options' template an external file?\r\n\r\neq.\r\n\r\n`<div data-content=\"details\" data-format=\"nestedTemplateFormatter\" data-format-options=\"{ template : 'assets/template/list.html'}\">\r\n\r\n?\r\n\r\nThanks.`"}}
{"actor":{"display_login":"xbatusayx"}}