Make html2canvas requireable in nodejs

This commit is contained in:
Niklas von Hertzen
2015-01-19 23:33:29 +02:00
parent 33cd2c5ef6
commit edb113c230
11 changed files with 45 additions and 18 deletions

8
tests/node/package.js Normal file
View File

@ -0,0 +1,8 @@
var assert = require('assert');
var html2canvas = require('../../');
describe("Package", function() {
it("should have html2canvas defined", function() {
assert.equal(typeof(html2canvas), "function");
});
});