From f381ac7135156e66c0ed74fe75061fb7b37d0555 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Tue, 15 Oct 2013 00:07:50 -0400 Subject: [PATCH] typos --- dygraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dygraph.js b/dygraph.js index f5e834f..88213d6 100644 --- a/dygraph.js +++ b/dygraph.js @@ -218,7 +218,7 @@ Dygraph.dateAxisFormatter = function(date, granularity) { if (frac === 0 || granularity >= Dygraph.DAILY) { // e.g. '21Jan' (%d%b) var nd = new Date(date.getTime() + 3600*1000); - return Dygraph.zeropad(nd.getDate()) + SHORT_MONTH_NAMES[nd.getMonth()]; + return Dygraph.zeropad(nd.getDate()) + Dygraph.SHORT_MONTH_NAMES_[nd.getMonth()]; } else { return Dygraph.hmsString_(date.getTime()); } @@ -1375,7 +1375,7 @@ Dygraph.prototype.createDragInterface_ = function() { event.cancelBubble = true; } - var canvasPos = DygraphafindPos(g.canvas_); + var canvasPos = Dygraph.findPos(g.canvas_); contextB.px = canvasPos.x; contextB.py = canvasPos.y; contextB.dragStartX = g.dragGetX_(event, contextB); -- 2.7.4