Skip to content

Commit

Permalink
updated js and added doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
ddmills committed Sep 9, 2015
1 parent acc22f3 commit 24aac31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions main.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!doctype html>
<html>
<head>
<link rel='stylesheet' type='text/css' href='../../css/font-awesome.css'>
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let canvas = document.createElement('canvas');
canvas.setAttribute('width', '400px');
canvas.setAttribute('height', '300px');
canvas.id = "chart-output";
content.appendChild(canvas);
$('#content').prepend(canvas);

let ctx = canvas.getContext('2d');
new Chart(ctx).Bar(chartData, { 'responsive': true, });
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "top-ten-commits",
"productName": "Top Ten Commits",
"version": "0.0.5",
"version": "0.0.6",
"author": "Nitin Mukesh Tiwari <[email protected]>",
"description": "Displays top 10 commits based on number of files changed as a bar chart.",
"main": "main.html",
Expand Down

0 comments on commit 24aac31

Please sign in to comment.