{"action":"created","issue":{"url":"https://api.github.com/repos/canjs/can-define/issues/83","repository_url":"https://api.github.com/repos/canjs/can-define","labels_url":"https://api.github.com/repos/canjs/can-define/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/canjs/can-define/issues/83/comments","events_url":"https://api.github.com/repos/canjs/can-define/issues/83/events","html_url":"https://github.com/canjs/can-define/issues/83","id":185245155,"number":83,"title":"Can't define() new properties on individual DefineMap instances.","user":{"login":"bmomberger-bitovi","id":18686722,"avatar_url":"https://avatars.githubusercontent.com/u/18686722?v=3","gravatar_id":"","url":"https://api.github.com/users/bmomberger-bitovi","html_url":"https://github.com/bmomberger-bitovi","followers_url":"https://api.github.com/users/bmomberger-bitovi/followers","following_url":"https://api.github.com/users/bmomberger-bitovi/following{/other_user}","gists_url":"https://api.github.com/users/bmomberger-bitovi/gists{/gist_id}","starred_url":"https://api.github.com/users/bmomberger-bitovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmomberger-bitovi/subscriptions","organizations_url":"https://api.github.com/users/bmomberger-bitovi/orgs","repos_url":"https://api.github.com/users/bmomberger-bitovi/repos","events_url":"https://api.github.com/users/bmomberger-bitovi/events{/privacy}","received_events_url":"https://api.github.com/users/bmomberger-bitovi/received_events","type":"User","site_admin":false},"labels":[{"id":304666955,"url":"https://api.github.com/repos/canjs/can-define/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":434945473,"url":"https://api.github.com/repos/canjs/can-define/labels/P2","name":"P2","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T21:57:55Z","updated_at":"2016-11-18T19:41:13Z","closed_at":null,"body":"https://jsbin.com/qohigifeli/1/edit?html,js,output\n\nSuccess path:\n- Make a constructor\n- Define properties on its prototype with define()\n- Create a new instance.\n- Define new properties on the instance with define()\n- Everything works.\n\nFail path:\n- extend DefineMap to a new class with properties defined\n- Create a new instance\n- Define new properties on the instance with define()\n- Results in an error: `Cannot redefine property: _data`\n\nIs there any reason why this shouldn't work?\n"},"comment":{"url":"https://api.github.com/repos/canjs/can-define/issues/comments/261623067","html_url":"https://github.com/canjs/can-define/issues/83#issuecomment-261623067","issue_url":"https://api.github.com/repos/canjs/can-define/issues/83","id":261623067,"user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T19:41:13Z","updated_at":"2016-11-18T19:41:13Z","body":"@bmomberger-bitovi I'm confused about what this issue is about.\r\n\r\nOn first glance, it looked like the issue is about creating a map like you did in the jsbin like:\r\n\r\n```js\r\nnew can.DefineMap({\r\n  constructor: function() {},\r\n  _cid: Math.random().toString(10),\r\n  _bindings: Math.random(),\r\n  __bindEvents: {}\r\n});\r\n```\r\n\r\nBut the title and text of the issue makes me think it's about something different.  What do you mean by:\r\n\r\n> Define new properties on the instance with define()\r\n\r\nI don't see that happening in the jsbin.  Thanks!\r\n"}}
{"actor":{"display_login":"justinbmeyer"}}