{"action":"closed","number":10,"pull_request":{"created_at":"2011-12-06T03:46:31Z","review_comments":0,"state":"closed","updated_at":"2011-12-09T10:51:59Z","patch_url":"https://github.com/tobie/modulr-node/pull/10.patch","changed_files":1,"_links":{"review_comments":{"href":"https://api.github.com/repos/tobie/modulr-node/pulls/10/comments"},"comments":{"href":"https://api.github.com/repos/tobie/modulr-node/issues/10/comments"},"html":{"href":"https://github.com/tobie/modulr-node/pull/10"},"self":{"href":"https://api.github.com/repos/tobie/modulr-node/pulls/10"}},"issue_url":"https://github.com/tobie/modulr-node/issues/10","user":{"gravatar_id":"8514e9b8968edec285989fd2a1b0318e","id":1216626,"url":"https://api.github.com/users/CGamesPlay","avatar_url":"https://secure.gravatar.com/avatar/8514e9b8968edec285989fd2a1b0318e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"CGamesPlay"},"comments":1,"merged":false,"body":"Hi Tobie, I made a change to make debugging errors in modules easier. By giving a name to the anonymous module function, the stack trace is much more useful if a module throws an error:\r\n\r\n  module$path$to$module\r\n  require\r\n  module$path$to$other\r\n  require\r\n  (anonymous function)\r\n\r\nIt's worth pointing out that the methods are still anonymous and are not added to the global scope (try it!).","deletions":1,"commits":1,"mergeable":true,"id":561601,"additions":3,"base":{"repo":{"pushed_at":"2011-11-16T09:44:43Z","created_at":"2011-08-15T18:53:21Z","updated_at":"2011-12-07T03:23:41Z","private":false,"clone_url":"https://github.com/tobie/modulr-node.git","name":"modulr-node","svn_url":"https://svn.github.com/tobie/modulr-node","master_branch":null,"watchers":12,"language":"JavaScript","forks":6,"owner":{"gravatar_id":"6d980c09cc3fd1913deb45d8c4b8d1a3","id":3392,"url":"https://api.github.com/users/tobie","avatar_url":"https://secure.gravatar.com/avatar/6d980c09cc3fd1913deb45d8c4b8d1a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tobie"},"id":2211476,"homepage":"","description":"Resolves and concatenates CommonJS module dependencies for use in the browser.","git_url":"git://github.com/tobie/modulr-node.git","html_url":"https://github.com/tobie/modulr-node","open_issues":4,"size":140,"url":"https://api.github.com/repos/tobie/modulr-node","fork":false,"ssh_url":"git@github.com:tobie/modulr-node.git"},"user":{"gravatar_id":"6d980c09cc3fd1913deb45d8c4b8d1a3","id":3392,"url":"https://api.github.com/users/tobie","avatar_url":"https://secure.gravatar.com/avatar/6d980c09cc3fd1913deb45d8c4b8d1a3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tobie"},"sha":"89ae0bf357f791191cbd0b94c7d7883a9118b7c0","ref":"master","label":"tobie:master"},"merged_by":null,"number":10,"head":{"repo":{"pushed_at":"2011-12-06T03:45:00Z","created_at":"2011-12-06T03:44:28Z","updated_at":"2011-12-06T03:45:00Z","private":false,"clone_url":"https://github.com/CGamesPlay/modulr-node.git","name":"modulr-node","svn_url":"https://svn.github.com/CGamesPlay/modulr-node","master_branch":null,"watchers":1,"language":"JavaScript","forks":0,"owner":{"gravatar_id":"8514e9b8968edec285989fd2a1b0318e","id":1216626,"url":"https://api.github.com/users/CGamesPlay","avatar_url":"https://secure.gravatar.com/avatar/8514e9b8968edec285989fd2a1b0318e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"CGamesPlay"},"id":2922130,"homepage":"","description":"Resolves and concatenates CommonJS module dependencies for use in the browser.","git_url":"git://github.com/CGamesPlay/modulr-node.git","html_url":"https://github.com/CGamesPlay/modulr-node","open_issues":0,"size":116,"url":"https://api.github.com/repos/CGamesPlay/modulr-node","fork":true,"ssh_url":"git@github.com:CGamesPlay/modulr-node.git"},"user":{"gravatar_id":"8514e9b8968edec285989fd2a1b0318e","id":1216626,"url":"https://api.github.com/users/CGamesPlay","avatar_url":"https://secure.gravatar.com/avatar/8514e9b8968edec285989fd2a1b0318e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"CGamesPlay"},"sha":"2d4bc73409c1ce610fcfbe7d6139814808142b3a","ref":"master","label":"CGamesPlay:master"},"title":"Debugging aid for module exceptions","closed_at":"2011-12-09T10:51:59Z","html_url":"https://github.com/tobie/modulr-node/pull/10","url":"https://api.github.com/repos/tobie/modulr-node/pulls/10","diff_url":"https://github.com/tobie/modulr-node/pull/10.diff","merged_at":null}}