@needle-tools/needle-component-compiler 3.0.0-alpha.2.873d456 → 3.0.0-alpha.2.b3c6deb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-compiler.js +2 -2
- package/package.json +1 -1
package/dist/base-compiler.js
CHANGED
|
@@ -64,7 +64,7 @@ var CodeTextWriter = /** @class */ (function () {
|
|
|
64
64
|
CodeTextWriter.prototype.writeLine = function (line) {
|
|
65
65
|
var indent = "";
|
|
66
66
|
for (var i = 0; i < this.indent; i++) {
|
|
67
|
-
indent += "
|
|
67
|
+
indent += "\t";
|
|
68
68
|
}
|
|
69
69
|
var lines = line.split(/\r?\n/);
|
|
70
70
|
for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {
|
|
@@ -118,7 +118,7 @@ var CodeTextWriter = /** @class */ (function () {
|
|
|
118
118
|
this.lines.length = 0;
|
|
119
119
|
};
|
|
120
120
|
CodeTextWriter.prototype.toString = function () {
|
|
121
|
-
return this.lines.join("\r");
|
|
121
|
+
return this.lines.join("\r\n");
|
|
122
122
|
};
|
|
123
123
|
return CodeTextWriter;
|
|
124
124
|
}());
|
package/package.json
CHANGED