GitHub PullRequestReviewCommentEvent at 2014-02-26 10:19:55
Repository: gaia
Actor: wilsonpage
Payload: {"comment":{"url":"https://api.github.com/repos/dmarcos/gaia/pulls/comments/10074362","id":10074362,"diff_hunk":"@@ -0,0 +1,79 @@\n+define(function(require, exports, module) {\r\n+'use strict';\r\n+\r\n+/**\r\n+ * Dependencies\r\n+ */\r\n+\r\n+var View = require('vendor/view');\r\n+var find = require('lib/find');\r\n+var orientation = require('lib/orientation');\r\n+/**\r\n+ * Exports\r\n+ */\r\n+\r\n+module.exports = View.extend({\r\n+  name:'lowBattery',\r\n+  initialize: function() {\r\n+    this.el.innerHTML = this.render();\r\n+    this.els.message = find('.js-low-battery',this.el);\r\n+    this.els.message.dataset.mode = 'disable';\r\n+    orientation.on('orientation', this.setOrientation);\r\n+    this.setOrientation(orientation.get());\r\n+  },\r\n+  render: function() {\r\n+    return '<div class =\"js-low-battery lowbattery\"> </div>';\r","path":"apps/camera/js/views/low-battery.js","position":25,"original_position":25,"commit_id":"259b28b1f46fe9439aadf7142d86cb68b2f73129","original_commit_id":"259b28b1f46fe9439aadf7142d86cb68b2f73129","user":{"login":"wilsonpage","id":1020551,"avatar_url":"https://gravatar.com/avatar/92ef51ff737e64b627c58bd55fa6e35e?d=https%3A%2F%2Fidenticons.github.com%2F5e644eb198e706b602ec1ff380152fda.png&r=x","gravatar_id":"92ef51ff737e64b627c58bd55fa6e35e","url":"https://api.github.com/users/wilsonpage","html_url":"https://github.com/wilsonpage","followers_url":"https://api.github.com/users/wilsonpage/followers","following_url":"https://api.github.com/users/wilsonpage/following{/other_user}","gists_url":"https://api.github.com/users/wilsonpage/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonpage/subscriptions","organizations_url":"https://api.github.com/users/wilsonpage/orgs","repos_url":"https://api.github.com/users/wilsonpage/repos","events_url":"https://api.github.com/users/wilsonpage/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonpage/received_events","type":"User","site_admin":false},"body":"`class =\"` => `class=\"`","created_at":"2014-02-26T10:19:55Z","updated_at":"2014-02-26T10:19:55Z","html_url":"https://github.com/dmarcos/gaia/pull/46#discussion_r10074362","pull_request_url":"https://api.github.com/repos/dmarcos/gaia/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/dmarcos/gaia/pulls/comments/10074362"},"html":{"href":"https://github.com/dmarcos/gaia/pull/46#discussion_r10074362"},"pull_request":{"href":"https://api.github.com/repos/dmarcos/gaia/pulls/46"}}}}