Skip to content

Commit

Permalink
add output files
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinr committed Aug 22, 2013
1 parent 8eab92b commit a9eae69
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
24 changes: 0 additions & 24 deletions bin/tslint-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -27132,30 +27132,6 @@ var Lint;
_super.prototype.visitMemberFunctionDeclaration.call(this, node);
};

IndentWalker.prototype.visitObjectLiteralExpression = function (node) {
var startPosition = this.position() + node.leadingTriviaWidth();

if (!this.arePositionsOnSameLine(startPosition, startPosition + node.width())) {
this.visitToken(node.openBraceToken);
this.checkAndVisitSeparatedList(node.propertyAssignments);
this.visitToken(node.closeBraceToken);
} else {
_super.prototype.visitObjectLiteralExpression.call(this, node);
}
};

IndentWalker.prototype.visitArrayLiteralExpression = function (node) {
var startPosition = this.position() + node.leadingTriviaWidth();

if (!this.arePositionsOnSameLine(startPosition, startPosition + node.width())) {
this.visitToken(node.openBracketToken);
this.checkAndVisitSeparatedList(node.expressions);
this.visitToken(node.closeBracketToken);
} else {
_super.prototype.visitArrayLiteralExpression.call(this, node);
}
};

IndentWalker.prototype.visitModuleDeclaration = function (node) {
this.visitList(node.modifiers);
this.visitToken(node.moduleKeyword);
Expand Down
24 changes: 0 additions & 24 deletions lib/tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -27132,30 +27132,6 @@ var Lint;
_super.prototype.visitMemberFunctionDeclaration.call(this, node);
};

IndentWalker.prototype.visitObjectLiteralExpression = function (node) {
var startPosition = this.position() + node.leadingTriviaWidth();

if (!this.arePositionsOnSameLine(startPosition, startPosition + node.width())) {
this.visitToken(node.openBraceToken);
this.checkAndVisitSeparatedList(node.propertyAssignments);
this.visitToken(node.closeBraceToken);
} else {
_super.prototype.visitObjectLiteralExpression.call(this, node);
}
};

IndentWalker.prototype.visitArrayLiteralExpression = function (node) {
var startPosition = this.position() + node.leadingTriviaWidth();

if (!this.arePositionsOnSameLine(startPosition, startPosition + node.width())) {
this.visitToken(node.openBracketToken);
this.checkAndVisitSeparatedList(node.expressions);
this.visitToken(node.closeBracketToken);
} else {
_super.prototype.visitArrayLiteralExpression.call(this, node);
}
};

IndentWalker.prototype.visitModuleDeclaration = function (node) {
this.visitList(node.modifiers);
this.visitToken(node.moduleKeyword);
Expand Down

0 comments on commit a9eae69

Please sign in to comment.