diff --git a/platform/features/plot/src/PlotController.js b/platform/features/plot/src/PlotController.js index 9cafa5c95d..177782793e 100644 --- a/platform/features/plot/src/PlotController.js +++ b/platform/features/plot/src/PlotController.js @@ -4,8 +4,8 @@ * Module defining PlotController. Created by vwoeltje on 11/12/14. */ define( - ["./GLPlotPreparer", "./PlotPalette", "../lib/moment.min.js"], - function (GLPlotPreparer, PlotPalette) { + ["./PlotPreparer", "./PlotPalette", "../lib/moment.min.js"], + function (PlotPreparer, PlotPalette) { "use strict"; var AXIS_DEFAULTS = [ @@ -110,7 +110,7 @@ define( data = telemetry.getResponse(); - prepared = new GLPlotPreparer( + prepared = new PlotPreparer( data, ($scope.axes[0].active || {}).key, ($scope.axes[1].active || {}).key diff --git a/platform/features/plot/src/GLPlotPreparer.js b/platform/features/plot/src/PlotPreparer.js similarity index 96% rename from platform/features/plot/src/GLPlotPreparer.js rename to platform/features/plot/src/PlotPreparer.js index 9ba020db84..755ef158ae 100644 --- a/platform/features/plot/src/GLPlotPreparer.js +++ b/platform/features/plot/src/PlotPreparer.js @@ -10,7 +10,7 @@ define( function identity(x) { return x; } - function GLPlotPreparer(datas, domain, range) { + function PlotPreparer(datas, domain, range) { var index, vertices = [], max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], @@ -86,7 +86,7 @@ define( }; } - return GLPlotPreparer; + return PlotPreparer; } ); \ No newline at end of file