Commit 4be713f8 authored by David Schnur's avatar David Schnur

Removed trailing whitespace.

parent d3b2f0c1
/* Plugin for jQuery for working with colors. /* Plugin for jQuery for working with colors.
* *
* Version 1.1. * Version 1.1.
* *
* Inspiration from jQuery color animation plugin by John Resig. * Inspiration from jQuery color animation plugin by John Resig.
* *
* Released under the MIT license by Ole Laursen, October 2009. * Released under the MIT license by Ole Laursen, October 2009.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
* V. 1.1: Fix error handling so e.g. parsing an empty string does * V. 1.1: Fix error handling so e.g. parsing an empty string does
* produce a color rather than just crashing. * produce a color rather than just crashing.
*/ */
(function($) { (function($) {
$.color = {}; $.color = {};
......
...@@ -148,7 +148,7 @@ Google Maps). ...@@ -148,7 +148,7 @@ Google Maps).
y1 = tmp; y1 = tmp;
} }
// if the anchor is at the center of the pixel, expand the // if the anchor is at the center of the pixel, expand the
// image by 1/2 pixel in each direction // image by 1/2 pixel in each direction
if (series.images.anchor == "center") { if (series.images.anchor == "center") {
tmp = 0.5 * (x2-x1) / (img.width - 1); tmp = 0.5 * (x2-x1) / (img.width - 1);
......
...@@ -164,7 +164,7 @@ The plugin allso adds the following methods to the plot object: ...@@ -164,7 +164,7 @@ The plugin allso adds the following methods to the plot object:
var r = {}, c1 = selection.first, c2 = selection.second; var r = {}, c1 = selection.first, c2 = selection.second;
$.each(plot.getAxes(), function (name, axis) { $.each(plot.getAxes(), function (name, axis) {
if (axis.used) { if (axis.used) {
var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]); var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]);
r[name] = { from: Math.min(p1, p2), to: Math.max(p1, p2) }; r[name] = { from: Math.min(p1, p2), to: Math.max(p1, p2) };
} }
}); });
......
...@@ -131,7 +131,7 @@ charts or filled areas). ...@@ -131,7 +131,7 @@ charts or filled areas).
newpoints.push(intery + qy); newpoints.push(intery + qy);
for (m = 2; m < ps; ++m) for (m = 2; m < ps; ++m)
newpoints.push(points[i + m]); newpoints.push(points[i + m]);
bottom = qy; bottom = qy;
} }
j += otherps; j += otherps;
......
...@@ -175,9 +175,9 @@ API.txt for details. ...@@ -175,9 +175,9 @@ API.txt for details.
var baseSpec = [ var baseSpec = [
[1, "second"], [2, "second"], [5, "second"], [10, "second"], [1, "second"], [2, "second"], [5, "second"], [10, "second"],
[30, "second"], [30, "second"],
[1, "minute"], [2, "minute"], [5, "minute"], [10, "minute"], [1, "minute"], [2, "minute"], [5, "minute"], [10, "minute"],
[30, "minute"], [30, "minute"],
[1, "hour"], [2, "hour"], [4, "hour"], [1, "hour"], [2, "hour"], [4, "hour"],
[8, "hour"], [12, "hour"], [8, "hour"], [12, "hour"],
[1, "day"], [2, "day"], [3, "day"], [1, "day"], [2, "day"], [3, "day"],
......
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