Fix node 4 (#336)

It complained that it couldn't recognize const outside of `"use strict";`. It's a good idea to add this anyway.
master
Christopher Chedeau 2017-01-19 12:57:23 -08:00 committed by GitHub
parent ad96fce6c2
commit 173f63f043
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
"use strict";
const assert = require("assert");
const utils = require("./doc-utils");
const hasHardLine = utils.hasHardLine;

View File

@ -1,3 +1,4 @@
"use strict";
function iterDoc(topDoc, func) {
const docs = [ topDoc ];