PascalCase -> camelCase
This commit is contained in:
parent
3e339d88a1
commit
2715f890b4
1 changed files with 3 additions and 3 deletions
|
@ -1337,21 +1337,21 @@ namespace ts {
|
||||||
// However we should still skip a pinned comment at the top
|
// However we should still skip a pinned comment at the top
|
||||||
if (ranges.length && ranges[0].kind === SyntaxKind.MultiLineCommentTrivia && isPinnedComment(text, ranges[0])) {
|
if (ranges.length && ranges[0].kind === SyntaxKind.MultiLineCommentTrivia && isPinnedComment(text, ranges[0])) {
|
||||||
position = ranges[0].end;
|
position = ranges[0].end;
|
||||||
AdvancePastLineBreak();
|
advancePastLineBreak();
|
||||||
ranges = ranges.slice(1);
|
ranges = ranges.slice(1);
|
||||||
}
|
}
|
||||||
// As well as any triple slash references
|
// As well as any triple slash references
|
||||||
for (const range of ranges) {
|
for (const range of ranges) {
|
||||||
if (range.kind === SyntaxKind.SingleLineCommentTrivia && isRecognizedTripleSlashComment(node.text, range.pos, range.end)) {
|
if (range.kind === SyntaxKind.SingleLineCommentTrivia && isRecognizedTripleSlashComment(node.text, range.pos, range.end)) {
|
||||||
position = range.end;
|
position = range.end;
|
||||||
AdvancePastLineBreak();
|
advancePastLineBreak();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return position;
|
return position;
|
||||||
|
|
||||||
function AdvancePastLineBreak() {
|
function advancePastLineBreak() {
|
||||||
if (position < textLength) {
|
if (position < textLength) {
|
||||||
const charCode = text.charCodeAt(position);
|
const charCode = text.charCodeAt(position);
|
||||||
if (isLineBreak(charCode)) {
|
if (isLineBreak(charCode)) {
|
||||||
|
|
Loading…
Reference in a new issue