{"action":"created","issue":{"url":"https://api.github.com/repos/canjs/canjs/issues/2085","labels_url":"https://api.github.com/repos/canjs/canjs/issues/2085/labels{/name}","comments_url":"https://api.github.com/repos/canjs/canjs/issues/2085/comments","events_url":"https://api.github.com/repos/canjs/canjs/issues/2085/events","html_url":"https://github.com/canjs/canjs/issues/2085","id":116763604,"number":2085,"title":"can.define is not documented","user":{"login":"meconcomputer","id":5626860,"avatar_url":"https://avatars.githubusercontent.com/u/5626860?v=3","gravatar_id":"","url":"https://api.github.com/users/meconcomputer","html_url":"https://github.com/meconcomputer","followers_url":"https://api.github.com/users/meconcomputer/followers","following_url":"https://api.github.com/users/meconcomputer/following{/other_user}","gists_url":"https://api.github.com/users/meconcomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/meconcomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meconcomputer/subscriptions","organizations_url":"https://api.github.com/users/meconcomputer/orgs","repos_url":"https://api.github.com/users/meconcomputer/repos","events_url":"https://api.github.com/users/meconcomputer/events{/privacy}","received_events_url":"https://api.github.com/users/meconcomputer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T12:53:35Z","updated_at":"2015-11-13T13:48:31Z","closed_at":null,"body":"When using **can.Map.define** plugin, the **can.define** object is not documented (see https://github.com/canjs/canjs/blob/master/map/define/define.js#L6)\r\n\r\nIt should be properly documented (http://canjs.com/docs/can.Map.prototype.define.html), because:\r\n+ it uses a *global attribute* on **can** object to store it's *types*\r\n+ it helps users to understand that it can be used when they need to declare application wide **define.types**"},"comment":{"url":"https://api.github.com/repos/canjs/canjs/issues/comments/156434935","html_url":"https://github.com/canjs/canjs/issues/2085#issuecomment-156434935","issue_url":"https://api.github.com/repos/canjs/canjs/issues/2085","id":156434935,"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":"2015-11-13T13:48:31Z","updated_at":"2015-11-13T13:48:31Z","body":"It should probably not be used to create application wide types. This is mostly why it's not documented. There's a issue where I go into this. But I'll write up the explanation when I have a bit of time. \n\nSent from my iPhone\n\n> On Nov 13, 2015, at 6:53 AM, meconcomputer <notifications@github.com> wrote:\n> \n> When using can.Map.define plugin, the can.define object is not documented (see https://github.com/canjs/canjs/blob/master/map/define/define.js#L6)\n> \n> It should be properly documented (http://canjs.com/docs/can.Map.prototype.define.html), because:\n> \n> it uses a global attribute on can object to store it's types\n> it helps users to understand that it can be used when they need to declare application wide define.types\n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}