Make html2canvas requireable in nodejs

This commit is contained in:
MoyuScript
2015-01-19 23:33:29 +02:00
parent ae37c55b16
commit e0e5ef89a1
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");
});
});