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
parent
ad96fce6c2
commit
173f63f043
|
@ -1,3 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
const assert = require("assert");
|
||||
const utils = require("./doc-utils");
|
||||
const hasHardLine = utils.hasHardLine;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
"use strict";
|
||||
|
||||
function iterDoc(topDoc, func) {
|
||||
const docs = [ topDoc ];
|
||||
|
|
Loading…
Reference in New Issue