[Formatting] Rename export image service variables

Issue #1164
This commit is contained in:
David Hudson 2016-09-10 01:45:50 +09:00
parent 72ecbb0abc
commit a6386b1612
2 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ define([
PlotController,
PlotViewPolicy,
PlotOptionsController,
ExportImageService,
exportImageService,
plotTemplate,
plotOptionsBrowseTemplate,
legacyRegistry
@ -91,7 +91,7 @@ define([
"services": [
{
"key": "ExportImageService",
"implementation": ExportImageService,
"implementation": exportImageService,
"depends": [
"$q",
"$timeout",

View File

@ -64,7 +64,7 @@ define(
function PlotController(
$scope,
$element,
ExportImageService,
exportImageService,
telemetryFormatter,
telemetryHandler,
throttle,
@ -249,7 +249,7 @@ define(
self.pending = true;
self.$element = $element;
self.ExportImageService = ExportImageService;
self.exportImageService = exportImageService;
// Initialize axes; will get repopulated when telemetry
// metadata becomes available.
@ -374,7 +374,7 @@ define(
PlotController.prototype.exportPDF = function () {
var self = this;
self.hideExportButtons = true;
self.ExportImageService.exportPDF(self.$element[0], "plot.pdf").finally(function () {
self.exportImageService.exportPDF(self.$element[0], "plot.pdf").finally(function () {
self.hideExportButtons = false;
});
};
@ -385,7 +385,7 @@ define(
PlotController.prototype.exportPNG = function () {
var self = this;
self.hideExportButtons = true;
self.ExportImageService.exportPNG(self.$element[0], "plot.png").finally(function () {
self.exportImageService.exportPNG(self.$element[0], "plot.png").finally(function () {
self.hideExportButtons = false;
});
};
@ -396,7 +396,7 @@ define(
PlotController.prototype.exportJPG = function () {
var self = this;
self.hideExportButtons = true;
self.ExportImageService.exportJPG(self.$element[0], "plot.jpg").finally(function () {
self.exportImageService.exportJPG(self.$element[0], "plot.jpg").finally(function () {
self.hideExportButtons = false;
});
};