GitHub PullRequestReviewCommentEvent at 2014-05-27 10:22:03
Repository: lizard-client
Actor: ernstkui
Payload: {"comment":{"url":"https://api.github.com/repos/nens/lizard-client/pulls/comments/13070773","id":13070773,"diff_hunk":"@@ -1,6 +1,49 @@\n /**\n  * Generic utilities\n  */\n+app.factory('hashSyncHelper', ['$location', '$parse', '$rootScope', function ($location, $parse, $rootScope) {\n+    var service = {\n+      getHash: function () {\n+        return parseKeyValue($location.hash());\n+      },\n+      setHash: function (obj, replaceHistory) {\n+        if (!isDefined(replaceHistory)) replaceHistory = true;\n+        var obj2 = {};\n+        // strip out blank values\n+        var oldhash = this.getHash();\n+        angular.forEach(obj, function (v, k) { \n+          if (v) obj2[k] = v; \n+        });\n+        jQuery.extend(oldhash, obj2); // TODO/WISH: Replace jQuery with a native solution","path":"source/app/services/util-service.js","position":17,"original_position":17,"commit_id":"7e837709bcc51f22d570171357189db69c8fcb2f","original_commit_id":"7e837709bcc51f22d570171357189db69c8fcb2f","user":{"login":"ernstkui","id":4438154,"avatar_url":"https://avatars.githubusercontent.com/u/4438154?","gravatar_id":"23690aae8266b130ce5eddca88ee17f9","url":"https://api.github.com/users/ernstkui","html_url":"https://github.com/ernstkui","followers_url":"https://api.github.com/users/ernstkui/followers","following_url":"https://api.github.com/users/ernstkui/following{/other_user}","gists_url":"https://api.github.com/users/ernstkui/gists{/gist_id}","starred_url":"https://api.github.com/users/ernstkui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernstkui/subscriptions","organizations_url":"https://api.github.com/users/ernstkui/orgs","repos_url":"https://api.github.com/users/ernstkui/repos","events_url":"https://api.github.com/users/ernstkui/events{/privacy}","received_events_url":"https://api.github.com/users/ernstkui/received_events","type":"User","site_admin":false},"body":"angular.extend ?","created_at":"2014-05-27T10:22:03Z","updated_at":"2014-05-27T10:22:03Z","html_url":"https://github.com/nens/lizard-client/pull/2#discussion_r13070773","pull_request_url":"https://api.github.com/repos/nens/lizard-client/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/nens/lizard-client/pulls/comments/13070773"},"html":{"href":"https://github.com/nens/lizard-client/pull/2#discussion_r13070773"},"pull_request":{"href":"https://api.github.com/repos/nens/lizard-client/pulls/2"}}}}