Skip to content

Commit 89d6d55

Browse files
authored
Merge pull request #178 from highcharts/bugfix/removed-provider
Removed unused provider option.
2 parents 32ed813 + 53d921f commit 89d6d55

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/ui/highed.chartpreview.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,6 @@ highed.ChartPreview = function(parent, attributes) {
835835
init(aggregatedOptions);
836836
emitChange();
837837
}
838-
839838
events.emit('LoadProject', projectData);
840839
}
841840
}
@@ -930,7 +929,6 @@ highed.ChartPreview = function(parent, attributes) {
930929
var loadedCSVRaw = false,
931930
gsheet = lastLoadedSheet,
932931
livedata = lastLoadedLiveData,
933-
provider = 1,
934932
themeData = false;
935933

936934
if (
@@ -953,7 +951,6 @@ highed.ChartPreview = function(parent, attributes) {
953951
googleSpreadsheetWorksheet:
954952
chart.options.data.googleSpreadsheetWorksheet
955953
};
956-
provider = 2;
957954
}
958955

959956
if (chart &&
@@ -966,7 +963,6 @@ highed.ChartPreview = function(parent, attributes) {
966963
interval: chart.options.data.interval,
967964
type: chart.options.data.type
968965
};
969-
provider = 3;
970966
}
971967

972968
if (themeMeta && themeMeta.id && themeOptions) {
@@ -989,8 +985,7 @@ highed.ChartPreview = function(parent, attributes) {
989985
googleSpreadsheet: gsheet,
990986
liveData: livedata
991987
}
992-
},
993-
provider: provider
988+
}
994989
//editorOptions: highed.serializeEditorOptions()
995990
};
996991
}

0 commit comments

Comments
 (0)