GitHub PullRequestReviewCommentEvent at 2014-02-11 19:56:32
Repository: juju-gui
Actor: hatched
Payload: {"comment":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/comments/9640511","id":9640511,"diff_hunk":"@@ -638,6 +638,114 @@ YUI.add('juju-gui', function(Y) {\n       Y.on('initiateDeploy', function(charm, ghostAttributes) {\n         cfg.deployService(charm, ghostAttributes);\n       }, this);\n+\n+      this._boundAppDragOverHandler = this._appDragOverHandler.bind(this);\n+      // These are manually detached in the destructor.\n+      ['dragenter', 'dragover', 'dragleave'].forEach(function(eventName) {\n+        Y.config.doc.addEventListener(eventName, this._boundAppDragOverHandler);","path":"app/app.js","position":8,"original_position":8,"commit_id":"76a5ddd6db3a015cacca03edf5163b13ec37f973","original_commit_id":"76a5ddd6db3a015cacca03edf5163b13ec37f973","user":{"login":"hatched","id":532033,"avatar_url":"https://gravatar.com/avatar/e95b5dccab0d75eadaccfe04bfd7ad59?d=https%3A%2F%2Fidenticons.github.com%2Fdb9c609946fb7872e803497473e0fb31.png&r=x","gravatar_id":"e95b5dccab0d75eadaccfe04bfd7ad59","url":"https://api.github.com/users/hatched","html_url":"https://github.com/hatched","followers_url":"https://api.github.com/users/hatched/followers","following_url":"https://api.github.com/users/hatched/following{/other_user}","gists_url":"https://api.github.com/users/hatched/gists{/gist_id}","starred_url":"https://api.github.com/users/hatched/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatched/subscriptions","organizations_url":"https://api.github.com/users/hatched/orgs","repos_url":"https://api.github.com/users/hatched/repos","events_url":"https://api.github.com/users/hatched/events{/privacy}","received_events_url":"https://api.github.com/users/hatched/received_events","type":"User","site_admin":false},"body":"Yeah this is native event binding so it's kind of kludgy compared to YUI's events :)","created_at":"2014-02-11T19:56:32Z","updated_at":"2014-02-11T19:56:32Z","html_url":"https://github.com/juju/juju-gui/pull/119#discussion_r9640511","pull_request_url":"https://api.github.com/repos/juju/juju-gui/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/comments/9640511"},"html":{"href":"https://github.com/juju/juju-gui/pull/119#discussion_r9640511"},"pull_request":{"href":"https://api.github.com/repos/juju/juju-gui/pulls/119"}}}}