Renaming utilties for clarity

This commit is contained in:
Ramya Achutha Rao
2017-07-24 14:45:02 -07:00
parent 76392ae91f
commit bf634bf4e7
13 changed files with 33 additions and 33 deletions

View File

@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { getNodesInBetween, getNode, parse } from './util';
import { getNodesInBetween, getNode, parseDocument } from './util';
import { Node, Stylesheet } from 'EmmetNode';
import { isStyleSheet } from 'vscode-emmet-helper';
@@ -34,7 +34,7 @@ export function toggleComment() {
endComment = endCommentHTML;
}
let rootNode = parse(editor.document);
let rootNode = parseDocument(editor.document);
if (!rootNode) {
return;
}