Edited request for Ticket 709, Deprecation Mesg

We changed the === to == and removed the typeof operator.  We also changed the tabs to spaces.
pull/1/head
yaelelmatad 14 years ago
parent 4e5c800c6a
commit 8beb199e8d

@ -1222,9 +1222,9 @@
return v.toFixed(axis.tickDecimals);
};
}
else if (opts.mode === "time" && typeof axis.tickGenerator === "undefined") {
else if (opts.mode == "time" && axis.tickGenerator == undefined) {
throw new Error("Time mode requires the flot.time plugin.");
}
}
if ($.isFunction(opts.tickFormatter))
axis.tickFormatter = function (v, axis) { return "" + opts.tickFormatter(v, axis); };

Loading…
Cancel
Save