Commit a6fc8c47 authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Отключен стаб для nodejs в IE возникает ошибка Redeclaration of const property.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48761 954022d7-b5bf-4e40-9824-e11837661b57
parent eda9ab98
if (typeof window === 'undefined') {
//Run under nodejs
var Canvas = require('canvas');
/*var Canvas = require('canvas');
var Image = Canvas['Image'];
var jsdom = require('jsdom')['jsdom'];
var document = jsdom();
......@@ -9,7 +9,7 @@ if (typeof window === 'undefined') {
var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
var $ = require('jQuery');
var jq = require('jQuery').create();
var jQuery = require('jQuery').create(window);
var jQuery = require('jQuery').create(window);*/
}
else {
//Run under browser
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment