{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating/issues/167","labels_url":"https://api.github.com/repos/aurelia/templating/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating/issues/167/comments","events_url":"https://api.github.com/repos/aurelia/templating/issues/167/events","html_url":"https://github.com/aurelia/templating/issues/167","id":105014639,"number":167,"title":"TypeError: Cannot read property 'x' of undefined at BindableProperty.initialize","user":{"login":"stevies","id":1218691,"avatar_url":"https://avatars.githubusercontent.com/u/1218691?v=3","gravatar_id":"","url":"https://api.github.com/users/stevies","html_url":"https://github.com/stevies","followers_url":"https://api.github.com/users/stevies/followers","following_url":"https://api.github.com/users/stevies/following{/other_user}","gists_url":"https://api.github.com/users/stevies/gists{/gist_id}","starred_url":"https://api.github.com/users/stevies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevies/subscriptions","organizations_url":"https://api.github.com/users/stevies/orgs","repos_url":"https://api.github.com/users/stevies/repos","events_url":"https://api.github.com/users/stevies/events{/privacy}","received_events_url":"https://api.github.com/users/stevies/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-05T08:49:17Z","updated_at":"2015-09-05T12:14:48Z","closed_at":"2015-09-05T12:14:48Z","body":"Problem since latest version. Steps to reproduce: \r\n```\r\n//page1.html\r\n<template>\r\n      ${msg}\r\n</template>\r\n\r\n//page1.js\r\nimport {bindable} from 'aurelia-framework';\r\nexport class Page1 {\r\n  @bindable msg = 'Bindable message';\r\n}\r\n```\r\nGets error: \r\n```\r\nERROR [app-router] TypeError: Cannot read property 'msg' of undefined\r\n    at BindableProperty.initialize (http://localhost:9000/jspm_packages/github/aurelia/templating@0.15.0/aurelia-templating.js:2706:33)\r\n    at new BehaviorInstance (http://localhost:9000/jspm_packages/github/aurelia/templating@0.15.0/aurelia-templating.js:2457:23)\r\n    at HtmlBehaviorResource.create (http://localhost:9000/jspm_packages/github/aurelia/templating@0.15.0/aurelia-templating.js:3085:30)\r\n    at http://localhost:9000/jspm_packages/github/aurelia/templating-router@0.16.0/router-view.js:44:49\r\n    at f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1415:56)\r\n    at http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1423:13\r\n    at b.exports (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:453:24)\r\n    at b.(anonymous function) (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1625:11)\r\n    at Number.f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1596:24)\r\n    at q (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1600:11)\r\n```\r\n\r\nAppears to be caused by:  https://github.com/aurelia/templating/blob/master/src/bindable-property.js#l133\r\nChanging to: \r\n```\r\n  if (!!attributes) {\r\n```\r\nseems to fix things.\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/templating/issues/comments/137948767","html_url":"https://github.com/aurelia/templating/issues/167#issuecomment-137948767","issue_url":"https://api.github.com/repos/aurelia/templating/issues/167","id":137948767,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T12:14:48Z","updated_at":"2015-09-05T12:14:48Z","body":"Ok, it was a bug in templating-router. It's all fixed now. If you run `jspm update` you should get the latest patch. Version for templating-router would be 0.16.1 with the fix. Sorry about the regression."}}