Minor fix.

This commit is contained in:
Valera Rozuvan
2012-12-19 19:41:08 +02:00
committed by Alexander Kryklia
parent 6b9ace4614
commit ad16c6c6f5

View File

@@ -9,8 +9,6 @@ define('Graph', ['logme'], function (logme) {
function Graph(gstId, config, state) {
var plotDiv, dataSeries, functions, xaxis, yaxis, numPoints, xrange;
logme(config);
// We need plot configuration settings. Without them we can't continue.
if ($.isPlainObject(config.plot) === false) {
return;
@@ -431,8 +429,6 @@ define('Graph', ['logme'], function (logme) {
// will break.
funcString = $('<div>').html(funcString).text();
logme('graph: funcstr = "' + funcString + '"');
// Some defaults. If no options are set for the graph, we will
// make sure that at least a line is drawn for a function.
newFunctionObject = {