Remove unnecessary spaces

This commit is contained in:
Niklas Wagner 2017-03-25 18:21:21 +01:00 committed by GitHub
parent bfcd03cff9
commit 547bfc455c

View file

@ -33,15 +33,15 @@ var InjectAsComment = (function () {
return new Promise(function (resolve, reject) { resolve(); }); return new Promise(function (resolve, reject) { resolve(); });
}; };
InjectAsComment.prototype.injectIntoCss = function (asset) { InjectAsComment.prototype.injectIntoCss = function (asset) {
var modAsset = "/** [" + config.SHORT + "] Build version: " + this.context.version + " **/ " + endOfLine + " " + asset.source() + " "; var modAsset = "/** [" + config.SHORT + "] Build version: " + this.context.version + " **/" + endOfLine + asset.source();
asset.source = function () { return modAsset; }; asset.source = function () { return modAsset; };
}; };
InjectAsComment.prototype.injectIntoHtml = function (asset) { InjectAsComment.prototype.injectIntoHtml = function (asset) {
var modAsset = "<!-- [" + config.SHORT + "] Build version: " + this.context.version + " --> " + endOfLine + " " + asset.source() + " "; var modAsset = "<!-- [" + config.SHORT + "] Build version: " + this.context.version + " -->" + endOfLine + asset.source();
asset.source = function () { return modAsset; }; asset.source = function () { return modAsset; };
}; };
InjectAsComment.prototype.injectIntoJs = function (asset) { InjectAsComment.prototype.injectIntoJs = function (asset) {
var modAsset = "// [" + config.SHORT + "] Build version: " + this.context.version + " " + endOfLine + " " + asset.source() + " "; var modAsset = "// [" + config.SHORT + "] Build version: " + this.context.version + endOfLine + " " + asset.source();
asset.source = function () { return modAsset; }; asset.source = function () { return modAsset; };
}; };
return InjectAsComment; return InjectAsComment;