From: Dan Vanderkam Date: Tue, 15 Oct 2013 04:07:50 +0000 (-0400) Subject: typos X-Git-Tag: v1.1.0~80^2~4 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=f381ac7135156e66c0ed74fe75061fb7b37d0555;p=dygraphs.git typos --- 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);