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

delete unused getJSZipUtils

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