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

@@ -5,7 +5,7 @@
import * as vscode from 'vscode';
import { HtmlNode } from 'EmmetNode';
import { getNode, parse, validate } from './util';
import { getNode, parseDocument, validate } from './util';
export function balanceOut() {
balance(true);
@@ -21,7 +21,7 @@ function balance(out: boolean) {
return;
}
let rootNode = <HtmlNode>parse(editor.document);
let rootNode = <HtmlNode>parseDocument(editor.document);
if (!rootNode) {
return;
}