{"action":"created","comment":{"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments/28276609","id":28276609,"diff_hunk":"@@ -9,10 +9,76 @@\n //\n // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details\n // about supported directives.\n-//\n+\n //= require jquery\n //= require jquery_ujs\n //= require foundation\n //= require_tree .\n+//http://jsfiddle.net/vbnkzd1m/\n \n $(function(){ $(document).foundation(); });\n+\n+\n+$(function () {\n+\n+  $.getJSON('http://localhost:3000/users/1.jsonp', function (data) {\n+    debugger;\n+    // create the chart\n+\n+    $('#container').highcharts('StockChart', {\n+\n+      title: {\n+        text: 'AAPL stock price by minute'\n+      },\n+\n+      subtitle: {\n+        text: 'Using ordinal X axis'\n+      },\n+\n+      xAxis: {\n+        gapGridLineWidth: 0\n+      },\n+\n+      rangeSelector : {\n+        buttons : [{\n+          type : 'hour',\n+          count : 1,\n+          text : '1h'\n+        }, {\n+          type : 'day',\n+          count : 1,\n+          text : '1D'\n+        }, {\n+          type : 'all',\n+          count : 1,\n+          text : 'All'\n+        }],\n+        selected : 1,\n+        inputEnabled : false\n+      },\n+\n+      series : [{\n+        name : 'MRR',\n+        type: 'area',\n+        data : data,\n+        gapSize: 5,\n+        tooltip: {\n+          valueDecimals: 2\n+        },\n+        fillColor : {\n+          linearGradient : {\n+            x1: 0,\n+            y1: 0,\n+            x2: 0,\n+            y2: 1\n+          },\n+          stops : [\n+            [0, Highcharts.getOptions().colors[0]],","path":"app/assets/javascripts/application.js","position":69,"original_position":69,"commit_id":"4575ca690207af96e296affe8e36a94f714eceec","original_commit_id":"4575ca690207af96e296affe8e36a94f714eceec","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"'Highcharts' is not defined.","created_at":"2015-04-13T20:38:31Z","updated_at":"2015-04-13T20:38:31Z","html_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/3#discussion_r28276609","pull_request_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments/28276609"},"html":{"href":"https://github.com/erikgrueter/Stripe-Analytics/pull/3#discussion_r28276609"},"pull_request":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3","id":33200957,"html_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/3","diff_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/3.diff","patch_url":"https://github.com/erikgrueter/Stripe-Analytics/pull/3.patch","issue_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/3","number":3,"state":"open","locked":false,"title":"Customers","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-13T20:38:25Z","updated_at":"2015-04-13T20:38:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe0df64553801308f2ace40470d39dd8e2e765e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3/commits","review_comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3/comments","review_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/3/comments","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/4575ca690207af96e296affe8e36a94f714eceec","head":{"label":"erikgrueter:customers","ref":"customers","sha":"4575ca690207af96e296affe8e36a94f714eceec","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"repo":{"id":32895497,"name":"Stripe-Analytics","full_name":"erikgrueter/Stripe-Analytics","owner":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikgrueter/Stripe-Analytics","description":"A Revenue Tracker for Software As A Service (SaaS companies) ","fork":false,"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics","forks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/forks","keys_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/teams","hooks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/hooks","issue_events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/events{/number}","events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/events","assignees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/assignees{/user}","branches_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/branches{/branch}","tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/tags","blobs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/languages","stargazers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/stargazers","contributors_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contributors","subscribers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscribers","subscription_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscription","commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contents/{+path}","compare_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/merges","archive_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/downloads","issues_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues{/number}","pulls_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/labels{/name}","releases_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/releases{/id}","created_at":"2015-03-25T22:50:24Z","updated_at":"2015-04-06T22:17:24Z","pushed_at":"2015-04-13T20:38:26Z","git_url":"git://github.com/erikgrueter/Stripe-Analytics.git","ssh_url":"git@github.com:erikgrueter/Stripe-Analytics.git","clone_url":"https://github.com/erikgrueter/Stripe-Analytics.git","svn_url":"https://github.com/erikgrueter/Stripe-Analytics","homepage":null,"size":320,"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":"erikgrueter:master","ref":"master","sha":"039649bb9727e8d0cfb6613658622100801cc5d5","user":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"repo":{"id":32895497,"name":"Stripe-Analytics","full_name":"erikgrueter/Stripe-Analytics","owner":{"login":"erikgrueter","id":1851232,"avatar_url":"https://avatars.githubusercontent.com/u/1851232?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgrueter","html_url":"https://github.com/erikgrueter","followers_url":"https://api.github.com/users/erikgrueter/followers","following_url":"https://api.github.com/users/erikgrueter/following{/other_user}","gists_url":"https://api.github.com/users/erikgrueter/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgrueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgrueter/subscriptions","organizations_url":"https://api.github.com/users/erikgrueter/orgs","repos_url":"https://api.github.com/users/erikgrueter/repos","events_url":"https://api.github.com/users/erikgrueter/events{/privacy}","received_events_url":"https://api.github.com/users/erikgrueter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikgrueter/Stripe-Analytics","description":"A Revenue Tracker for Software As A Service (SaaS companies) ","fork":false,"url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics","forks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/forks","keys_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/teams","hooks_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/hooks","issue_events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/events{/number}","events_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/events","assignees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/assignees{/user}","branches_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/branches{/branch}","tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/tags","blobs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/languages","stargazers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/stargazers","contributors_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contributors","subscribers_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscribers","subscription_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/subscription","commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/contents/{+path}","compare_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/merges","archive_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/downloads","issues_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues{/number}","pulls_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/labels{/name}","releases_url":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/releases{/id}","created_at":"2015-03-25T22:50:24Z","updated_at":"2015-04-06T22:17:24Z","pushed_at":"2015-04-13T20:38:26Z","git_url":"git://github.com/erikgrueter/Stripe-Analytics.git","ssh_url":"git@github.com:erikgrueter/Stripe-Analytics.git","clone_url":"https://github.com/erikgrueter/Stripe-Analytics.git","svn_url":"https://github.com/erikgrueter/Stripe-Analytics","homepage":null,"size":320,"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/erikgrueter/Stripe-Analytics/pulls/3"},"html":{"href":"https://github.com/erikgrueter/Stripe-Analytics/pull/3"},"issue":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/3"},"comments":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/erikgrueter/Stripe-Analytics/statuses/4575ca690207af96e296affe8e36a94f714eceec"}}}}