Remove unnecessary spaces
This commit is contained in:
parent
bfcd03cff9
commit
547bfc455c
1 changed files with 3 additions and 3 deletions
6
dist/components/inject-as-comment.js
vendored
6
dist/components/inject-as-comment.js
vendored
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue