Skip to content
This repository was archived by the owner on Mar 12, 2018. It is now read-only.

Commit ba65584

Browse files
committed
refactor
1 parent 052c6e0 commit ba65584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
var fs = require('fs')
77
, util = require('util')
8+
, jsdom = require('jsdom')
89
, Canvas = require('canvas')
9-
, jsdom = require('jsdom').jsdom
10-
, document = jsdom('<html><head></head><body></body></html>')
1110
, Image = Canvas.Image
11+
, document = jsdom.jsdom('<!doctype html><html><head></head><body></body></html>')
1212
, window = document.createWindow()
1313
, navigator = window.navigator
1414
, HTMLImageElement = window.HTMLImageElement

0 commit comments

Comments
 (0)