projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More correctly-compiling files, plus some more info in closure-todo.txt
[dygraphs.git]
/
plugins
/
axes.js
diff --git
a/plugins/axes.js
b/plugins/axes.js
index
940fcec
..
1f9c256
100644
(file)
--- a/
plugins/axes.js
+++ b/
plugins/axes.js
@@
-6,6
+6,8
@@
Dygraph.Plugins.Axes = (function() {
Dygraph.Plugins.Axes = (function() {
+"use strict";
+
/*
Bits of jankiness:
/*
Bits of jankiness:
@@
-33,7
+35,7
@@
axes.prototype.activate = function(g) {
return {
layout: this.layout,
clearChart: this.clearChart,
return {
layout: this.layout,
clearChart: this.clearChart,
-
drawChart: this.d
rawChart
+
willDrawChart: this.willD
rawChart
};
};
};
};
@@
-82,9
+84,9
@@
axes.prototype.detachLabels = function() {
axes.prototype.clearChart = function(e) {
var g = e.dygraph;
this.detachLabels();
axes.prototype.clearChart = function(e) {
var g = e.dygraph;
this.detachLabels();
-}
+}
;
-axes.prototype.
d
rawChart = function(e) {
+axes.prototype.
willD
rawChart = function(e) {
var g = e.dygraph;
if (!g.getOption('drawXAxis') && !g.getOption('drawYAxis')) return;
var g = e.dygraph;
if (!g.getOption('drawXAxis') && !g.getOption('drawYAxis')) return;
@@
-268,7
+270,7
@@
axes.prototype.drawChart = function(e) {
}
context.restore();
}
context.restore();
-}
+}
;
return axes;
})();
return axes;
})();