[Plot] Rename plot preparer

Rename the script used to prepare plot data for
rendering. WTD-533.
This commit is contained in:
Victor Woeltjen 2014-12-01 13:27:30 -08:00
parent 14d152102b
commit ac00c52589
2 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@
* Module defining PlotController. Created by vwoeltje on 11/12/14. * Module defining PlotController. Created by vwoeltje on 11/12/14.
*/ */
define( define(
["./GLPlotPreparer", "./PlotPalette", "../lib/moment.min.js"], ["./PlotPreparer", "./PlotPalette", "../lib/moment.min.js"],
function (GLPlotPreparer, PlotPalette) { function (PlotPreparer, PlotPalette) {
"use strict"; "use strict";
var AXIS_DEFAULTS = [ var AXIS_DEFAULTS = [
@ -110,7 +110,7 @@ define(
data = telemetry.getResponse(); data = telemetry.getResponse();
prepared = new GLPlotPreparer( prepared = new PlotPreparer(
data, data,
($scope.axes[0].active || {}).key, ($scope.axes[0].active || {}).key,
($scope.axes[1].active || {}).key ($scope.axes[1].active || {}).key

View File

@ -10,7 +10,7 @@ define(
function identity(x) { return x; } function identity(x) { return x; }
function GLPlotPreparer(datas, domain, range) { function PlotPreparer(datas, domain, range) {
var index, var index,
vertices = [], vertices = [],
max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
@ -86,7 +86,7 @@ define(
}; };
} }
return GLPlotPreparer; return PlotPreparer;
} }
); );