mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 16:10:23 +00:00
[Code Style] Run gulp fixstyle
...to apply code style settings from #142.
This commit is contained in:
@ -106,8 +106,8 @@ define(
|
||||
*/
|
||||
Bundle.prototype.getSourcePath = function (sourceFile) {
|
||||
var subpath = sourceFile ?
|
||||
[ this.definition.sources, sourceFile ] :
|
||||
[ this.definition.sources ];
|
||||
[this.definition.sources, sourceFile] :
|
||||
[this.definition.sources];
|
||||
|
||||
return this.resolvePath(subpath);
|
||||
};
|
||||
@ -124,8 +124,8 @@ define(
|
||||
*/
|
||||
Bundle.prototype.getResourcePath = function (resourceFile) {
|
||||
var subpath = resourceFile ?
|
||||
[ this.definition.resources, resourceFile ] :
|
||||
[ this.definition.resources ];
|
||||
[this.definition.resources, resourceFile] :
|
||||
[this.definition.resources];
|
||||
|
||||
return this.resolvePath(subpath);
|
||||
};
|
||||
@ -142,8 +142,8 @@ define(
|
||||
*/
|
||||
Bundle.prototype.getLibraryPath = function (libraryFile) {
|
||||
var subpath = libraryFile ?
|
||||
[ this.definition.libraries, libraryFile ] :
|
||||
[ this.definition.libraries ];
|
||||
[this.definition.libraries, libraryFile] :
|
||||
[this.definition.libraries];
|
||||
|
||||
return this.resolvePath(subpath);
|
||||
};
|
||||
|
@ -73,7 +73,9 @@ define(
|
||||
// loadBundleDefinition, so at this point they are safe
|
||||
// to discard.
|
||||
function filterBundles(array) {
|
||||
return array.filter(function (x) { return x !== undefined; });
|
||||
return array.filter(function (x) {
|
||||
return x !== undefined;
|
||||
});
|
||||
}
|
||||
|
||||
// Load a definition for a bundle
|
||||
|
Reference in New Issue
Block a user