Merge pull request #4 from Skaronator/patch-1
Remove unnecessary spaces
This commit is contained in:
commit
cfd2f2decb
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