Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
796e9b7f
Commit
796e9b7f
authored
Aug 09, 2017
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete unused getJSZipUtils
parent
ea57f058
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
cell/api.js
cell/api.js
+1
-1
common/editorscommon.js
common/editorscommon.js
+1
-7
No files found.
cell/api.js
View file @
796e9b7f
...
@@ -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
{
...
...
common/editorscommon.js
View file @
796e9b7f
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment