GitHub PullRequestReviewCommentEvent at 2014-01-26 11:26:32
Repository: fwadmin
Actor: pgolm
Payload: {"comment":{"url":"https://api.github.com/repos/ZIMK/fwadmin/pulls/comments/9175391","id":9175391,"diff_hunk":"@@ -0,0 +1,36 @@\n+/**\n+ * Created by oliver on 14.01.14.\n+ */\n+$.fn.searchTable = function (selector, options) {\n+    var searchTerm, regexp, rows, rowText;\n+\n+    $.merge(options, {\n+        searchIn: [],\n+    });\n+\n+    if (typeof options.searchIn == \"string\") {\n+        var columns = $(selector).find('thead ' + options.searchIn);\n+        options.searchIn = columns.map(function () {\n+            return this.cellIndex + 1;\n+        });\n+        console.dir(columns);\n+    }\n+\n+    // searchable cells\n+    $(options.searchIn).each(function () {\n+        $(selector).find('tbody > tr td:nth-child(' + this + ')').addClass('searchable-column');\n+    });\n+\n+    $(this).on('keyup', function () {\n+        searchTerm = $(this).val();\n+        regexp = new RegExp(searchTerm);","path":"fwadmin/static/script.js","position":26,"original_position":26,"commit_id":"183fa73e03b5af0069ed193b5905db56d0b1ecc2","original_commit_id":"183fa73e03b5af0069ed193b5905db56d0b1ecc2","user":{"login":"pgolm","id":1444194,"avatar_url":"https://gravatar.com/avatar/c6d6b2eb927ed858092c47da9f150372?d=https%3A%2F%2Fidenticons.github.com%2F57b229318d141b9912e2aa86fa75f97f.png&r=x","gravatar_id":"c6d6b2eb927ed858092c47da9f150372","url":"https://api.github.com/users/pgolm","html_url":"https://github.com/pgolm","followers_url":"https://api.github.com/users/pgolm/followers","following_url":"https://api.github.com/users/pgolm/following{/other_user}","gists_url":"https://api.github.com/users/pgolm/gists{/gist_id}","starred_url":"https://api.github.com/users/pgolm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgolm/subscriptions","organizations_url":"https://api.github.com/users/pgolm/orgs","repos_url":"https://api.github.com/users/pgolm/repos","events_url":"https://api.github.com/users/pgolm/events{/privacy}","received_events_url":"https://api.github.com/users/pgolm/received_events","type":"User","site_admin":false},"body":"Please add ```\"i\"```as second parameter to ignore cases.","created_at":"2014-01-26T11:26:32Z","updated_at":"2014-01-26T11:26:32Z","html_url":"https://github.com/ZIMK/fwadmin/pull/29#discussion_r9175391","pull_request_url":"https://api.github.com/repos/ZIMK/fwadmin/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/ZIMK/fwadmin/pulls/comments/9175391"},"html":{"href":"https://github.com/ZIMK/fwadmin/pull/29#discussion_r9175391"},"pull_request":{"href":"https://api.github.com/repos/ZIMK/fwadmin/pulls/29"}}}}