{"action":"opened","issue":{"url":"https://api.github.com/repos/donpark/hbs/issues/126","repository_url":"https://api.github.com/repos/donpark/hbs","labels_url":"https://api.github.com/repos/donpark/hbs/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/donpark/hbs/issues/126/comments","events_url":"https://api.github.com/repos/donpark/hbs/issues/126/events","html_url":"https://github.com/donpark/hbs/issues/126","id":165013830,"number":126,"title":"use ajax","user":{"login":"953133667","id":9947354,"avatar_url":"https://avatars.githubusercontent.com/u/9947354?v=3","gravatar_id":"","url":"https://api.github.com/users/953133667","html_url":"https://github.com/953133667","followers_url":"https://api.github.com/users/953133667/followers","following_url":"https://api.github.com/users/953133667/following{/other_user}","gists_url":"https://api.github.com/users/953133667/gists{/gist_id}","starred_url":"https://api.github.com/users/953133667/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/953133667/subscriptions","organizations_url":"https://api.github.com/users/953133667/orgs","repos_url":"https://api.github.com/users/953133667/repos","events_url":"https://api.github.com/users/953133667/events{/privacy}","received_events_url":"https://api.github.com/users/953133667/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T07:42:02Z","updated_at":"2016-07-12T07:42:02Z","closed_at":null,"body":"I need use ajax async update my page.\r\n###The web page template code is:\r\n`<script id=\"j-wenews-tmpl\" type=\"text/x-handlebars-template\">\r\n    {{#each result.list~}}\r\n        <tr>\r\n            <td>{{~firstImg}}</td>\r\n            <td>{{~id}}</td>\r\n            <td>{{~mark}}</td>\r\n            <td>{{~source}}</td>\r\n            <td>{{~title}}</td>\r\n            <td>{{~url}}</td>\r\n        </tr>\r\n    {{~/each}}\r\n</script>`\r\n###The web page javascript code is:\r\n`\r\n//More code\r\nvar source   = $(\"#j-wenews-tmpl\").html();\r\n                    var template = Handlebars.compile(source,json);\r\n                    var html    = template(res);\r\n//More code\r\n`\r\n###OK! after hbs compile.I get this template code.\r\n`<script id=\"j-wenews-tmpl\" type=\"text/x-handlebars-template\">\r\n</script>`\r\nLook at, after hbs compile,I geted an empty string.\r\n![image](https://cloud.githubusercontent.com/assets/9947354/16758924/0a84ae32-4847-11e6-90c6-2063ba77a2d1.png)\r\nPlease help me , thank you."}}
{"actor":{"display_login":"953133667"}}