{"action":"created","comment":{"url":"https://api.github.com/repos/alongat/expenses/pulls/comments/55119147","id":55119147,"diff_hunk":"@@ -0,0 +1,14 @@\n+/*\n+ AngularJS v1.4.9\n+ (c) 2010-2015 Google, Inc. http://angularjs.org\n+ License: MIT\n+*/\n+(function(J,f,C){'use strict';function D(t,e){e=e||{};f.forEach(e,function(f,k){delete e[k]});for(var k in t)!t.hasOwnProperty(k)||\"$\"===k.charAt(0)&&\"$\"===k.charAt(1)||(e[k]=t[k]);return e}var y=f.$$minErr(\"$resource\"),B=/^(\\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;f.module(\"ngResource\",[\"ng\"]).provider(\"$resource\",function(){var t=/^https?:\\/\\/[^\\/]*/,e=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:\"GET\"},save:{method:\"POST\"},query:{method:\"GET\",isArray:!0},remove:{method:\"DELETE\"},\"delete\":{method:\"DELETE\"}}};\n+this.$get=[\"$http\",\"$log\",\"$q\",function(k,F,G){function w(f,g){this.template=f;this.defaults=r({},e.defaults,g);this.urlParams={}}function z(l,g,s,h){function c(a,q){var c={};q=r({},g,q);u(q,function(b,q){x(b)&&(b=b());var m;if(b&&b.charAt&&\"@\"==b.charAt(0)){m=a;var d=b.substr(1);if(null==d||\"\"===d||\"hasOwnProperty\"===d||!B.test(\".\"+d))throw y(\"badmember\",d);for(var d=d.split(\".\"),n=0,g=d.length;n<g&&f.isDefined(m);n++){var e=d[n];m=null!==m?m[e]:C}}else m=b;c[q]=m});return c}function H(a){return a.resource}\n+function d(a){D(a||{},this)}var t=new w(l,h);s=r({},e.defaults.actions,s);d.prototype.toJSON=function(){var a=r({},this);delete a.$promise;delete a.$resolved;return a};u(s,function(a,q){var g=/^(POST|PUT|PATCH)$/i.test(a.method);d[q]=function(b,A,m,e){var n={},h,l,s;switch(arguments.length){case 4:s=e,l=m;case 3:case 2:if(x(A)){if(x(b)){l=b;s=A;break}l=A;s=m}else{n=b;h=A;l=m;break}case 1:x(b)?l=b:g?h=b:n=b;break;case 0:break;default:throw y(\"badargs\",arguments.length);}var w=this instanceof d,p=w?\n+h:a.isArray?[]:new d(h),v={},z=a.interceptor&&a.interceptor.response||H,B=a.interceptor&&a.interceptor.responseError||C;u(a,function(a,b){switch(b){default:v[b]=I(a);break;case \"params\":case \"isArray\":case \"interceptor\":break;case \"timeout\":a&&!f.isNumber(a)&&F.debug(\"ngResource:\\n  Only numeric values are allowed as `timeout`.\\n  Promises are not supported in $resource, because the same value would be used for multiple requests.\\n  If you need support for cancellable $resource actions, you should upgrade to version 1.5 or higher.\")}});\n+g&&(v.data=h);t.setUrlParams(v,r({},c(h,a.params||{}),n),a.url);n=k(v).then(function(b){var c=b.data,m=p.$promise;if(c){if(f.isArray(c)!==!!a.isArray)throw y(\"badcfg\",q,a.isArray?\"array\":\"object\",f.isArray(c)?\"array\":\"object\",v.method,v.url);a.isArray?(p.length=0,u(c,function(b){\"object\"===typeof b?p.push(new d(b)):p.push(b)})):(D(c,p),p.$promise=m)}p.$resolved=!0;b.resource=p;return b},function(b){p.$resolved=!0;(s||E)(b);return G.reject(b)});n=n.then(function(b){var a=z(b);(l||E)(a,b.headers);return a},\n+B);return w?n:(p.$promise=n,p.$resolved=!1,p)};d.prototype[\"$\"+q]=function(b,a,c){x(b)&&(c=a,a=b,b={});b=d[q].call(this,b,this,a,c);return b.$promise||b}});d.bind=function(a){return z(l,r({},g,a),s)};return d}var E=f.noop,u=f.forEach,r=f.extend,I=f.copy,x=f.isFunction;w.prototype={setUrlParams:function(l,g,e){var h=this,c=e||h.template,k,d,r=\"\",a=h.urlParams={};u(c.split(/\\W/),function(d){if(\"hasOwnProperty\"===d)throw y(\"badname\");!/^\\d+$/.test(d)&&d&&(new RegExp(\"(^|[^\\\\\\\\]):\"+d+\"(\\\\W|$)\")).test(c)&&\n+(a[d]=!0)});c=c.replace(/\\\\:/g,\":\");c=c.replace(t,function(a){r=a;return\"\"});g=g||{};u(h.urlParams,function(a,e){k=g.hasOwnProperty(e)?g[e]:h.defaults[e];f.isDefined(k)&&null!==k?(d=encodeURIComponent(k).replace(/%40/gi,\"@\").replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\").replace(/%20/g,\"%20\").replace(/%26/gi,\"&\").replace(/%3D/gi,\"=\").replace(/%2B/gi,\"+\"),c=c.replace(new RegExp(\":\"+e+\"(\\\\W|$)\",\"g\"),function(b,a){return d+a})):c=c.replace(new RegExp(\"(/?):\"+e+\"(\\\\W|$)\",\"g\"),function(b,\n+a,c){return\"/\"==c.charAt(0)?c:a+c})});h.defaults.stripTrailingSlashes&&(c=c.replace(/\\/+$/,\"\")||\"/\");c=c.replace(/\\/\\.(?=\\w+($|\\?))/,\".\");l.url=r+c.replace(/\\/\\\\\\./,\"/.\");u(g,function(a,c){h.urlParams[c]||(l.params=l.params||{},l.params[c]=a)})}};return z}]})})(window,window.angular);","path":"expenses/vendor/assets/bower_components/angular-resource/angular-resource.min.js","position":13,"original_position":13,"commit_id":"1cbd633fb3274ceba9756c887a015517e487d7f5","original_commit_id":"1cbd633fb3274ceba9756c887a015517e487d7f5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2016-03-05T10:11:55Z","updated_at":"2016-03-05T10:11:55Z","html_url":"https://github.com/alongat/expenses/pull/11#discussion_r55119147","pull_request_url":"https://api.github.com/repos/alongat/expenses/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/alongat/expenses/pulls/comments/55119147"},"html":{"href":"https://github.com/alongat/expenses/pull/11#discussion_r55119147"},"pull_request":{"href":"https://api.github.com/repos/alongat/expenses/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/alongat/expenses/pulls/11","id":61807974,"html_url":"https://github.com/alongat/expenses/pull/11","diff_url":"https://github.com/alongat/expenses/pull/11.diff","patch_url":"https://github.com/alongat/expenses/pull/11.patch","issue_url":"https://api.github.com/repos/alongat/expenses/issues/11","number":11,"state":"open","locked":false,"title":"Basic front end back end","user":{"login":"alongat","id":12812096,"avatar_url":"https://avatars.githubusercontent.com/u/12812096?v=3","gravatar_id":"","url":"https://api.github.com/users/alongat","html_url":"https://github.com/alongat","followers_url":"https://api.github.com/users/alongat/followers","following_url":"https://api.github.com/users/alongat/following{/other_user}","gists_url":"https://api.github.com/users/alongat/gists{/gist_id}","starred_url":"https://api.github.com/users/alongat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongat/subscriptions","organizations_url":"https://api.github.com/users/alongat/orgs","repos_url":"https://api.github.com/users/alongat/repos","events_url":"https://api.github.com/users/alongat/events{/privacy}","received_events_url":"https://api.github.com/users/alongat/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-05T10:11:38Z","updated_at":"2016-03-05T10:11:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d81b176af5169aee9d1e66ee68e1f60bdcbc451","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alongat/expenses/pulls/11/commits","review_comments_url":"https://api.github.com/repos/alongat/expenses/pulls/11/comments","review_comment_url":"https://api.github.com/repos/alongat/expenses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alongat/expenses/issues/11/comments","statuses_url":"https://api.github.com/repos/alongat/expenses/statuses/1cbd633fb3274ceba9756c887a015517e487d7f5","head":{"label":"alongat:basic_front_end_back_end","ref":"basic_front_end_back_end","sha":"1cbd633fb3274ceba9756c887a015517e487d7f5","user":{"login":"alongat","id":12812096,"avatar_url":"https://avatars.githubusercontent.com/u/12812096?v=3","gravatar_id":"","url":"https://api.github.com/users/alongat","html_url":"https://github.com/alongat","followers_url":"https://api.github.com/users/alongat/followers","following_url":"https://api.github.com/users/alongat/following{/other_user}","gists_url":"https://api.github.com/users/alongat/gists{/gist_id}","starred_url":"https://api.github.com/users/alongat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongat/subscriptions","organizations_url":"https://api.github.com/users/alongat/orgs","repos_url":"https://api.github.com/users/alongat/repos","events_url":"https://api.github.com/users/alongat/events{/privacy}","received_events_url":"https://api.github.com/users/alongat/received_events","type":"User","site_admin":false},"repo":{"id":41214138,"name":"expenses","full_name":"alongat/expenses","owner":{"login":"alongat","id":12812096,"avatar_url":"https://avatars.githubusercontent.com/u/12812096?v=3","gravatar_id":"","url":"https://api.github.com/users/alongat","html_url":"https://github.com/alongat","followers_url":"https://api.github.com/users/alongat/followers","following_url":"https://api.github.com/users/alongat/following{/other_user}","gists_url":"https://api.github.com/users/alongat/gists{/gist_id}","starred_url":"https://api.github.com/users/alongat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongat/subscriptions","organizations_url":"https://api.github.com/users/alongat/orgs","repos_url":"https://api.github.com/users/alongat/repos","events_url":"https://api.github.com/users/alongat/events{/privacy}","received_events_url":"https://api.github.com/users/alongat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alongat/expenses","description":"","fork":false,"url":"https://api.github.com/repos/alongat/expenses","forks_url":"https://api.github.com/repos/alongat/expenses/forks","keys_url":"https://api.github.com/repos/alongat/expenses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alongat/expenses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alongat/expenses/teams","hooks_url":"https://api.github.com/repos/alongat/expenses/hooks","issue_events_url":"https://api.github.com/repos/alongat/expenses/issues/events{/number}","events_url":"https://api.github.com/repos/alongat/expenses/events","assignees_url":"https://api.github.com/repos/alongat/expenses/assignees{/user}","branches_url":"https://api.github.com/repos/alongat/expenses/branches{/branch}","tags_url":"https://api.github.com/repos/alongat/expenses/tags","blobs_url":"https://api.github.com/repos/alongat/expenses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alongat/expenses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alongat/expenses/git/refs{/sha}","trees_url":"https://api.github.com/repos/alongat/expenses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alongat/expenses/statuses/{sha}","languages_url":"https://api.github.com/repos/alongat/expenses/languages","stargazers_url":"https://api.github.com/repos/alongat/expenses/stargazers","contributors_url":"https://api.github.com/repos/alongat/expenses/contributors","subscribers_url":"https://api.github.com/repos/alongat/expenses/subscribers","subscription_url":"https://api.github.com/repos/alongat/expenses/subscription","commits_url":"https://api.github.com/repos/alongat/expenses/commits{/sha}","git_commits_url":"https://api.github.com/repos/alongat/expenses/git/commits{/sha}","comments_url":"https://api.github.com/repos/alongat/expenses/comments{/number}","issue_comment_url":"https://api.github.com/repos/alongat/expenses/issues/comments{/number}","contents_url":"https://api.github.com/repos/alongat/expenses/contents/{+path}","compare_url":"https://api.github.com/repos/alongat/expenses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alongat/expenses/merges","archive_url":"https://api.github.com/repos/alongat/expenses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alongat/expenses/downloads","issues_url":"https://api.github.com/repos/alongat/expenses/issues{/number}","pulls_url":"https://api.github.com/repos/alongat/expenses/pulls{/number}","milestones_url":"https://api.github.com/repos/alongat/expenses/milestones{/number}","notifications_url":"https://api.github.com/repos/alongat/expenses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alongat/expenses/labels{/name}","releases_url":"https://api.github.com/repos/alongat/expenses/releases{/id}","deployments_url":"https://api.github.com/repos/alongat/expenses/deployments","created_at":"2015-08-22T15:47:22Z","updated_at":"2016-01-14T15:59:53Z","pushed_at":"2016-03-05T10:11:40Z","git_url":"git://github.com/alongat/expenses.git","ssh_url":"git@github.com:alongat/expenses.git","clone_url":"https://github.com/alongat/expenses.git","svn_url":"https://github.com/alongat/expenses","homepage":null,"size":1241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alongat:master","ref":"master","sha":"456fa91e57f8e50be282b085e6f7ec505ae26fd2","user":{"login":"alongat","id":12812096,"avatar_url":"https://avatars.githubusercontent.com/u/12812096?v=3","gravatar_id":"","url":"https://api.github.com/users/alongat","html_url":"https://github.com/alongat","followers_url":"https://api.github.com/users/alongat/followers","following_url":"https://api.github.com/users/alongat/following{/other_user}","gists_url":"https://api.github.com/users/alongat/gists{/gist_id}","starred_url":"https://api.github.com/users/alongat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongat/subscriptions","organizations_url":"https://api.github.com/users/alongat/orgs","repos_url":"https://api.github.com/users/alongat/repos","events_url":"https://api.github.com/users/alongat/events{/privacy}","received_events_url":"https://api.github.com/users/alongat/received_events","type":"User","site_admin":false},"repo":{"id":41214138,"name":"expenses","full_name":"alongat/expenses","owner":{"login":"alongat","id":12812096,"avatar_url":"https://avatars.githubusercontent.com/u/12812096?v=3","gravatar_id":"","url":"https://api.github.com/users/alongat","html_url":"https://github.com/alongat","followers_url":"https://api.github.com/users/alongat/followers","following_url":"https://api.github.com/users/alongat/following{/other_user}","gists_url":"https://api.github.com/users/alongat/gists{/gist_id}","starred_url":"https://api.github.com/users/alongat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alongat/subscriptions","organizations_url":"https://api.github.com/users/alongat/orgs","repos_url":"https://api.github.com/users/alongat/repos","events_url":"https://api.github.com/users/alongat/events{/privacy}","received_events_url":"https://api.github.com/users/alongat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alongat/expenses","description":"","fork":false,"url":"https://api.github.com/repos/alongat/expenses","forks_url":"https://api.github.com/repos/alongat/expenses/forks","keys_url":"https://api.github.com/repos/alongat/expenses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alongat/expenses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alongat/expenses/teams","hooks_url":"https://api.github.com/repos/alongat/expenses/hooks","issue_events_url":"https://api.github.com/repos/alongat/expenses/issues/events{/number}","events_url":"https://api.github.com/repos/alongat/expenses/events","assignees_url":"https://api.github.com/repos/alongat/expenses/assignees{/user}","branches_url":"https://api.github.com/repos/alongat/expenses/branches{/branch}","tags_url":"https://api.github.com/repos/alongat/expenses/tags","blobs_url":"https://api.github.com/repos/alongat/expenses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alongat/expenses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alongat/expenses/git/refs{/sha}","trees_url":"https://api.github.com/repos/alongat/expenses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alongat/expenses/statuses/{sha}","languages_url":"https://api.github.com/repos/alongat/expenses/languages","stargazers_url":"https://api.github.com/repos/alongat/expenses/stargazers","contributors_url":"https://api.github.com/repos/alongat/expenses/contributors","subscribers_url":"https://api.github.com/repos/alongat/expenses/subscribers","subscription_url":"https://api.github.com/repos/alongat/expenses/subscription","commits_url":"https://api.github.com/repos/alongat/expenses/commits{/sha}","git_commits_url":"https://api.github.com/repos/alongat/expenses/git/commits{/sha}","comments_url":"https://api.github.com/repos/alongat/expenses/comments{/number}","issue_comment_url":"https://api.github.com/repos/alongat/expenses/issues/comments{/number}","contents_url":"https://api.github.com/repos/alongat/expenses/contents/{+path}","compare_url":"https://api.github.com/repos/alongat/expenses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alongat/expenses/merges","archive_url":"https://api.github.com/repos/alongat/expenses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alongat/expenses/downloads","issues_url":"https://api.github.com/repos/alongat/expenses/issues{/number}","pulls_url":"https://api.github.com/repos/alongat/expenses/pulls{/number}","milestones_url":"https://api.github.com/repos/alongat/expenses/milestones{/number}","notifications_url":"https://api.github.com/repos/alongat/expenses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alongat/expenses/labels{/name}","releases_url":"https://api.github.com/repos/alongat/expenses/releases{/id}","deployments_url":"https://api.github.com/repos/alongat/expenses/deployments","created_at":"2015-08-22T15:47:22Z","updated_at":"2016-01-14T15:59:53Z","pushed_at":"2016-03-05T10:11:40Z","git_url":"git://github.com/alongat/expenses.git","ssh_url":"git@github.com:alongat/expenses.git","clone_url":"https://github.com/alongat/expenses.git","svn_url":"https://github.com/alongat/expenses","homepage":null,"size":1241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alongat/expenses/pulls/11"},"html":{"href":"https://github.com/alongat/expenses/pull/11"},"issue":{"href":"https://api.github.com/repos/alongat/expenses/issues/11"},"comments":{"href":"https://api.github.com/repos/alongat/expenses/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/alongat/expenses/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/alongat/expenses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alongat/expenses/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/alongat/expenses/statuses/1cbd633fb3274ceba9756c887a015517e487d7f5"}}}}