Commit 8beb199e authored by yaelelmatad's avatar yaelelmatad

Edited request for Ticket 709, Deprecation Mesg

We changed the === to == and removed the typeof operator.  We also changed the tabs to spaces.
parent 4e5c800c
...@@ -1222,7 +1222,7 @@ ...@@ -1222,7 +1222,7 @@
return v.toFixed(axis.tickDecimals); 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."); throw new Error("Time mode requires the flot.time plugin.");
} }
......
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