Commit 796e9b7f authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused getJSZipUtils

parent ea57f058
...@@ -977,7 +977,7 @@ var editor; ...@@ -977,7 +977,7 @@ var editor;
return; return;
} }
AscCommon.getJSZipUtils().getBinaryContent(t.documentUrl, function (err, data) { require('jsziputils').getBinaryContent(t.documentUrl, function (err, data) {
if (err) { if (err) {
reject(err); // or handle err reject(err); // or handle err
} else { } else {
......
...@@ -333,11 +333,6 @@ ...@@ -333,11 +333,6 @@
}); });
} }
function getJSZipUtils()
{
return window['JSZipUtils'] ? window['JSZipUtils'] : require('jsziputils');
}
function getImageFromChanges(name) function getImageFromChanges(name)
{ {
var content; var content;
...@@ -439,7 +434,7 @@ ...@@ -439,7 +434,7 @@
if (changesUrl) if (changesUrl)
{ {
oZipImages = {}; oZipImages = {};
getJSZipUtils().getBinaryContent(changesUrl, function (err, data) require('jsziputils').getBinaryContent(changesUrl, function (err, data)
{ {
if (err) if (err)
{ {
...@@ -3095,7 +3090,6 @@ ...@@ -3095,7 +3090,6 @@
window["AscCommon"].prepareUrl = prepareUrl; window["AscCommon"].prepareUrl = prepareUrl;
window["AscCommon"].getUserColorById = getUserColorById; window["AscCommon"].getUserColorById = getUserColorById;
window["AscCommon"].isNullOrEmptyString = isNullOrEmptyString; window["AscCommon"].isNullOrEmptyString = isNullOrEmptyString;
window["AscCommon"].getJSZipUtils = getJSZipUtils;
window["AscCommon"].DocumentUrls = DocumentUrls; window["AscCommon"].DocumentUrls = DocumentUrls;
window["AscCommon"].CLock = CLock; window["AscCommon"].CLock = CLock;
......
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