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

Исправления для минимизации.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47911 954022d7-b5bf-4e40-9824-e11837661b57
parent bef37635
......@@ -2,6 +2,8 @@
//It need to prevent minimize the name of object's method.
function $(){};
function jq(){};
function jQuery(){};
function DE(){};
function SE(){};
function SSE(){};
......
if (typeof window === 'undefined') {
//Run under nodejs
var Canvas = require('canvas');
var Image = Canvas.Image;
var Image = Canvas['Image'];
var jsdom = require('jsdom')['jsdom'];
var document = jsdom(null, null);
var window = document.createWindow();
var document = jsdom();
var window = document['createWindow']();
var navigator = require('navigator');
var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
var $ = require('jQuery');
......
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