mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
[Formatting] Linting
This commit is contained in:
parent
a8900f3d6d
commit
3a19890be9
7
main.js
7
main.js
@ -29,7 +29,7 @@ requirejs.config({
|
||||
"csv": "bower_components/comma-separated-values/csv.min",
|
||||
"es6-promise": "bower_components/es6-promise/promise.min",
|
||||
"html2canvas": "bower_components/html2canvas/build/html2canvas.min",
|
||||
"jspdf": "bower_components/jspdf/dist/jspdf.min",
|
||||
"jsPDF": "bower_components/jspdf/dist/jspdf.min",
|
||||
"moment": "bower_components/moment/moment",
|
||||
"moment-duration-format": "bower_components/moment-duration-format/lib/moment-duration-format",
|
||||
"saveAs": "bower_components/FileSaver.js/FileSaver.min",
|
||||
@ -48,6 +48,9 @@ requirejs.config({
|
||||
"html2canvas": {
|
||||
"exports": "html2canvas"
|
||||
},
|
||||
"jsPDF": {
|
||||
"exports": "jsPDF"
|
||||
},
|
||||
"moment-duration-format": {
|
||||
"deps": ["moment"]
|
||||
},
|
||||
@ -64,8 +67,6 @@ define([
|
||||
'./platform/framework/src/Main',
|
||||
'legacyRegistry',
|
||||
|
||||
'html2canvas',
|
||||
'jspdf',
|
||||
'./platform/framework/bundle',
|
||||
'./platform/core/bundle',
|
||||
'./platform/representation/bundle',
|
||||
|
@ -24,8 +24,12 @@
|
||||
* Module defining ExportImageService. Created by hudsonfoo on 09/02/16
|
||||
*/
|
||||
define(
|
||||
['saveAs'],
|
||||
function (saveAs) {
|
||||
[
|
||||
'html2canvas',
|
||||
'jsPDF',
|
||||
'saveAs'
|
||||
],
|
||||
function (html2canvas, jsPDF, saveAs) {
|
||||
|
||||
/**
|
||||
* The export image service will export any HTML node to
|
||||
|
Loading…
Reference in New Issue
Block a user