Commit b8905be5 authored by David Schnur's avatar David Schnur

Fix mixed spaces and tabs.

parent f24a67e7
...@@ -660,8 +660,8 @@ Licensed under the MIT license. ...@@ -660,8 +660,8 @@ Licensed under the MIT license.
}; };
plot.shutdown = shutdown; plot.shutdown = shutdown;
plot.resize = function () { plot.resize = function () {
var width = placeholder.width(), var width = placeholder.width(),
height = placeholder.height(); height = placeholder.height();
surface.resize(width, height); surface.resize(width, height);
overlay.resize(width, height); overlay.resize(width, height);
}; };
...@@ -713,7 +713,7 @@ Licensed under the MIT license. ...@@ -713,7 +713,7 @@ Licensed under the MIT license.
// not expected behavior; avoid it by replacing them here. // not expected behavior; avoid it by replacing them here.
if (opts && opts.colors) { if (opts && opts.colors) {
options.colors = opts.colors; options.colors = opts.colors;
} }
if (options.xaxis.color == null) { if (options.xaxis.color == null) {
...@@ -2773,7 +2773,7 @@ Licensed under the MIT license. ...@@ -2773,7 +2773,7 @@ Licensed under the MIT license.
if ($.isFunction(options.legend.sorted)) { if ($.isFunction(options.legend.sorted)) {
entries.sort(options.legend.sorted); entries.sort(options.legend.sorted);
} else if (options.legend.sorted == "reverse") { } else if (options.legend.sorted == "reverse") {
entries.reverse(); entries.reverse();
} else { } else {
var ascending = options.legend.sorted != "descending"; var ascending = options.legend.sorted != "descending";
entries.sort(function(a, b) { entries.sort(function(a, b) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment