GitHub PullRequestReviewCommentEvent at 2014-05-23 13:12:44
Repository: backbone.marionette
Actor: thejameskyle
Payload: {"comment":{"url":"https://api.github.com/repos/marionettejs/backbone.marionette/pulls/comments/12997430","id":12997430,"diff_hunk":"@@ -0,0 +1,43 @@\n+// Marionette Object\n+// ---------------------\n+//\n+// A Base Class that other Classes should descend from.\n+// Object borrows many conventions and utilities from Backbone.\n+Marionette.Object = function(options) {\n+\n+  this.options = _.extend({}, _.result(this, 'options'), options);\n+\n+  if (_.isFunction(this.initialize)) {\n+    this.initialize(this.options);\n+  }\n+};\n+\n+Marionette.Object.extend = Marionette.extend;\n+\n+// Object Methods\n+// --------------\n+\n+_.extend(Marionette.Object.prototype, {\n+  destroy: function() {\n+    this.triggerMethod('before:destroy');\n+    this.stopListening();\n+    this.triggerMethod('destroy');\n+    this.off();","path":"src/marionette.object.js","position":25,"original_position":25,"commit_id":"59d2c7c776dce916f154f578e8a23930346e63bb","original_commit_id":"59d2c7c776dce916f154f578e8a23930346e63bb","user":{"login":"thejameskyle","id":952783,"avatar_url":"https://avatars.githubusercontent.com/u/952783?","gravatar_id":"8a00efb48d632ae449794c094f7d5c38","url":"https://api.github.com/users/thejameskyle","html_url":"https://github.com/thejameskyle","followers_url":"https://api.github.com/users/thejameskyle/followers","following_url":"https://api.github.com/users/thejameskyle/following{/other_user}","gists_url":"https://api.github.com/users/thejameskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/thejameskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejameskyle/subscriptions","organizations_url":"https://api.github.com/users/thejameskyle/orgs","repos_url":"https://api.github.com/users/thejameskyle/repos","events_url":"https://api.github.com/users/thejameskyle/events{/privacy}","received_events_url":"https://api.github.com/users/thejameskyle/received_events","type":"User","site_admin":false},"body":"Who would write it that way? Would you?","created_at":"2014-05-23T13:12:44Z","updated_at":"2014-05-23T13:12:44Z","html_url":"https://github.com/marionettejs/backbone.marionette/pull/1323#discussion_r12997430","pull_request_url":"https://api.github.com/repos/marionettejs/backbone.marionette/pulls/1323","_links":{"self":{"href":"https://api.github.com/repos/marionettejs/backbone.marionette/pulls/comments/12997430"},"html":{"href":"https://github.com/marionettejs/backbone.marionette/pull/1323#discussion_r12997430"},"pull_request":{"href":"https://api.github.com/repos/marionettejs/backbone.marionette/pulls/1323"}}}}