{"action":"created","issue":{"url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/5","repository_url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli","labels_url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/5/comments","events_url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/5/events","html_url":"https://github.com/kristianmandrup/ember-easyform-cli/issues/5","id":73094546,"number":5,"title":"Template compiling not compatible with Ember 1.10+","user":{"login":"seadynamic8","id":1102159,"avatar_url":"https://avatars.githubusercontent.com/u/1102159?v=3","gravatar_id":"","url":"https://api.github.com/users/seadynamic8","html_url":"https://github.com/seadynamic8","followers_url":"https://api.github.com/users/seadynamic8/followers","following_url":"https://api.github.com/users/seadynamic8/following{/other_user}","gists_url":"https://api.github.com/users/seadynamic8/gists{/gist_id}","starred_url":"https://api.github.com/users/seadynamic8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seadynamic8/subscriptions","organizations_url":"https://api.github.com/users/seadynamic8/orgs","repos_url":"https://api.github.com/users/seadynamic8/repos","events_url":"https://api.github.com/users/seadynamic8/events{/privacy}","received_events_url":"https://api.github.com/users/seadynamic8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-04T18:37:36Z","updated_at":"2016-02-06T10:15:51Z","closed_at":null,"body":"As of Ember 1.10, Ember now uses HTMLBars, so the way it compile templates is different. (http://emberjs.com/blog/2015/02/05/compiling-templates-in-1-10-0.html)\r\n\r\nI'm getting the error:\r\n\r\n    Error: Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.\r\n\r\nFrom this code:\r\n\r\n    (function() {\r\n    Ember.EasyForm.Button = Ember.EasyForm.BaseView.extend({\r\n      tagName: 'button',\r\n      template: Ember.Handlebars.compile('{{text}}'),   // THIS IS THE LINE\r\n      attributeBindings: ['type', 'disabled'],\r\n\r\nI tried adding this line, as per this issue: https://github.com/emberjs/ember.js/issues/10265\r\n\r\n    app.import('bower_components/ember/ember-template-compiler.js');\r\n\r\nBut it doesn't help, it still errors out.\r\n\r\nI'm using Ember version 1.11.1\r\nThis is in my bower.json file:\r\n\r\n    \"ember-easyform\": \"git://github.com/kristianmandrup/ember-easyForm.git#master\",\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/comments/180731343","html_url":"https://github.com/kristianmandrup/ember-easyform-cli/issues/5#issuecomment-180731343","issue_url":"https://api.github.com/repos/kristianmandrup/ember-easyform-cli/issues/5","id":180731343,"user":{"login":"nitin-daffodil","id":5243271,"avatar_url":"https://avatars.githubusercontent.com/u/5243271?v=3","gravatar_id":"","url":"https://api.github.com/users/nitin-daffodil","html_url":"https://github.com/nitin-daffodil","followers_url":"https://api.github.com/users/nitin-daffodil/followers","following_url":"https://api.github.com/users/nitin-daffodil/following{/other_user}","gists_url":"https://api.github.com/users/nitin-daffodil/gists{/gist_id}","starred_url":"https://api.github.com/users/nitin-daffodil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitin-daffodil/subscriptions","organizations_url":"https://api.github.com/users/nitin-daffodil/orgs","repos_url":"https://api.github.com/users/nitin-daffodil/repos","events_url":"https://api.github.com/users/nitin-daffodil/events{/privacy}","received_events_url":"https://api.github.com/users/nitin-daffodil/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T10:15:51Z","updated_at":"2016-02-06T10:15:51Z","body":"hey which brocfilte you are taking "}}