GitHub PullRequestReviewCommentEvent at 2014-02-28 22:14:05
Repository: galaxy
Actor: mattbasta
Payload: {"comment":{"url":"https://api.github.com/repos/cvan/galaxy/pulls/comments/10183710","id":10183710,"diff_hunk":"@@ -1,12 +1,20 @@\n define('media-input', ['jquery', 'z'], function($, z) {\n     \n     function createInput($section) {\n-        $section.append($('<input>', { type: 'text', placeholder: $section.data('placeholder')}));\n+        $section.append($('<input>', { \n+            type: 'text', \n+            placeholder: $section.data('placeholder'),\n+            pattern: 'https?://.*'\n+        }));\n     }\n \n     z.page.on('loaded', function() {\n         $('.fallback').each(function() {\n-            createInput($(this));\n+            var $this = $(this);\n+            if (!$this.parent().parent().hasClass('icon') || !$this.children().length != 0) {","path":"src/media/js/media-input.js","position":16,"original_position":16,"commit_id":"78b70edea171fb97cf839286e591e19d3282b192","original_commit_id":"78b70edea171fb97cf839286e591e19d3282b192","user":{"login":"mattbasta","id":279498,"avatar_url":"https://avatars.githubusercontent.com/u/279498","gravatar_id":"88fb40c25ad334d86f189821bbca1c9f","url":"https://api.github.com/users/mattbasta","html_url":"https://github.com/mattbasta","followers_url":"https://api.github.com/users/mattbasta/followers","following_url":"https://api.github.com/users/mattbasta/following{/other_user}","gists_url":"https://api.github.com/users/mattbasta/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbasta/subscriptions","organizations_url":"https://api.github.com/users/mattbasta/orgs","repos_url":"https://api.github.com/users/mattbasta/repos","events_url":"https://api.github.com/users/mattbasta/events{/privacy}","received_events_url":"https://api.github.com/users/mattbasta/received_events","type":"User","site_admin":false},"body":"Use `.closest()`","created_at":"2014-02-28T22:14:05Z","updated_at":"2014-02-28T22:14:05Z","html_url":"https://github.com/cvan/galaxy/pull/84#discussion_r10183710","pull_request_url":"https://api.github.com/repos/cvan/galaxy/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/cvan/galaxy/pulls/comments/10183710"},"html":{"href":"https://github.com/cvan/galaxy/pull/84#discussion_r10183710"},"pull_request":{"href":"https://api.github.com/repos/cvan/galaxy/pulls/84"}}}}