[Code Style] Run gulp fixstyle

...to apply code style settings from #142.
This commit is contained in:
Victor Woeltjen
2016-05-19 11:29:13 -07:00
parent f12b9704d9
commit fa77139077
440 changed files with 1885 additions and 1662 deletions

View File

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

View File

@ -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