try to fix unit test

This commit is contained in:
Jare Guo
2016-07-22 11:54:58 +08:00
parent 51c4a0756d
commit bbbb38dc80
+4
View File
@@ -115,3 +115,7 @@ if (isPhantomJS) {
});
})();
}
if (typeof WebGLRenderingContext === 'undefined') {
window.WebGLRenderingContext = function () {};
}