Skip to content

Instantly share code, notes, and snippets.

View tomalec's full-sized avatar

Tomek Wytrębowicz tomalec

View GitHub Profile
@tomalec
tomalec / graph.js.patch
Created December 4, 2013 00:20
my.Sleepbot.com Add rating to pattern graph
--- their.js 2013-12-04 01:11:12.592533200 +0100
+++ mine.js 2013-12-04 01:11:30.869533200 +0100
@@ -405,6 +405,7 @@
graph_RangePatternDate: function(css_id,times){
"use strict";
var values=[];
+ var ratings=[];
var end,start;
if(times.length>0){
end=times[0]['e']*1000;