{"issue":{"created_at":"2011-11-17T20:37:04Z","state":"open","updated_at":"2011-11-27T06:30:44Z","user":{"gravatar_id":"85eb82c266e258ec18ec8b87f5e04104","id":109243,"url":"https://api.github.com/users/arian","login":"arian","avatar_url":"https://secure.gravatar.com/avatar/85eb82c266e258ec18ec8b87f5e04104?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"This way it is possible to do require('Base/Core').Class. Because of that it would be much easier to 'install' those on the global object, in some specific builds.\r\n\r\nI also added a `Core.install` method, which can copy those objects and functions on window or other objects.\r\n\r\nI probably would just use a AMD loader, but for people who prefer those stuff to be on the global object, like it always used to be, can do that now.","assignee":null,"id":2273429,"number":37,"pull_request":{"patch_url":"https://github.com/mootools/Base/pull/37.patch","html_url":"https://github.com/mootools/Base/pull/37","diff_url":"https://github.com/mootools/Base/pull/37.diff"},"labels":[],"title":"Store 'global' objects in the Core object.","closed_at":null,"html_url":"https://github.com/mootools/Base/issues/37","milestone":null,"url":"https://api.github.com/repos/mootools/Base/issues/37"},"action":"created","comment":{"created_at":"2011-11-27T06:30:44Z","updated_at":"2011-11-27T06:30:44Z","user":{"gravatar_id":"749001c9fe6927c4b069a45c2a3d68f7","id":100200,"url":"https://api.github.com/users/rpflorence","login":"rpflorence","avatar_url":"https://secure.gravatar.com/avatar/749001c9fe6927c4b069a45c2a3d68f7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Maybe devs should have to be explicit: `Core.install(window)`","id":2886213,"url":"https://api.github.com/repos/mootools/Base/issues/comments/2886213"}}