[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.
*/
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

View File

@ -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;
}
);