{"number":335,"pull_request":{"number":335,"issue_url":"https://github.com/documentcloud/underscore/issues/335","head":{"label":"tonylukasavage:patch-1","repo":{"master_branch":null,"name":"underscore","created_at":"2011-10-18T14:49:39Z","size":156,"clone_url":"https://github.com/tonylukasavage/underscore.git","private":false,"updated_at":"2011-10-18T16:27:19Z","watchers":1,"ssh_url":"git@github.com:tonylukasavage/underscore.git","url":"https://api.github.com/repos/tonylukasavage/underscore","git_url":"git://github.com/tonylukasavage/underscore.git","language":"JavaScript","fork":true,"svn_url":"https://svn.github.com/tonylukasavage/underscore","id":2599571,"pushed_at":"2011-10-18T16:27:19Z","open_issues":0,"homepage":"http://documentcloud.github.com/underscore/","description":"JavaScript's utility _ belt","forks":0,"html_url":"https://github.com/tonylukasavage/underscore","owner":{"gravatar_id":"39ebccd822b6fb533e004ee722c38e9d","avatar_url":"https://secure.gravatar.com/avatar/39ebccd822b6fb533e004ee722c38e9d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tonylukasavage","id":594112,"login":"tonylukasavage"}},"sha":"1054e24c4fe417f98adc3caeb8ec9cce7b39cdd1","ref":"patch-1","user":{"gravatar_id":"39ebccd822b6fb533e004ee722c38e9d","avatar_url":"https://secure.gravatar.com/avatar/39ebccd822b6fb533e004ee722c38e9d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tonylukasavage","id":594112,"login":"tonylukasavage"}},"merged_by":null,"created_at":"2011-10-18T14:54:23Z","changed_files":1,"merged":false,"body":"Add support for CommonJS implementations that do not support modules.exports. \r\n\r\nIn its current state we cannot load underscore as a module in Titanium since we do not support the `module.exports` object. Adding `_` to the standard `exports` object would expose underscore in a similar modular fashion, and could be used in our apps like this:\r\n\r\n`var _ = require('underscore')._;`","comments":12,"title":"Add support for CommonJS implementations that do not support modules.expo","additions":2,"diff_url":"https://github.com/documentcloud/underscore/pull/335.diff","updated_at":"2011-10-18T20:51:47Z","url":"https://api.github.com/repos/documentcloud/underscore/pulls/335","id":411694,"patch_url":"https://github.com/documentcloud/underscore/pull/335.patch","mergeable":true,"merged_at":null,"commits":2,"closed_at":"2011-10-18T20:51:47Z","user":{"gravatar_id":"39ebccd822b6fb533e004ee722c38e9d","avatar_url":"https://secure.gravatar.com/avatar/39ebccd822b6fb533e004ee722c38e9d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tonylukasavage","id":594112,"login":"tonylukasavage"},"deletions":0,"html_url":"https://github.com/documentcloud/underscore/pull/335","base":{"label":"documentcloud:master","repo":{"master_branch":null,"name":"underscore","created_at":"2009-10-25T18:31:06Z","size":1168,"clone_url":"https://github.com/documentcloud/underscore.git","private":false,"updated_at":"2011-10-18T20:51:46Z","watchers":3045,"ssh_url":"git@github.com:documentcloud/underscore.git","url":"https://api.github.com/repos/documentcloud/underscore","git_url":"git://github.com/documentcloud/underscore.git","language":"JavaScript","fork":false,"svn_url":"https://svn.github.com/documentcloud/underscore","id":349241,"pushed_at":"2011-10-18T20:51:46Z","open_issues":7,"homepage":"http://documentcloud.github.com/underscore/","description":"JavaScript's utility _ belt","forks":262,"html_url":"https://github.com/documentcloud/underscore","owner":{"gravatar_id":"984df9bc1103ee70b636c87f414411a6","avatar_url":"https://secure.gravatar.com/avatar/984df9bc1103ee70b636c87f414411a6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/documentcloud","id":93383,"login":"documentcloud"}},"sha":"89cf32f37af59a038458b2715a061e81c10cfabc","ref":"master","user":{"gravatar_id":"984df9bc1103ee70b636c87f414411a6","avatar_url":"https://secure.gravatar.com/avatar/984df9bc1103ee70b636c87f414411a6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/documentcloud","id":93383,"login":"documentcloud"}},"state":"closed"},"action":"closed"}