mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(edit) DOM.Storage -> Storage
This commit is contained in:
parent
7ca3f1770d
commit
a8c9af8af3
1 changed files with 3 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
LIBDIR = CloudCmd.LIBDIR,
|
||||
Info = DOM.CurrentInfo,
|
||||
Files = DOM.Files,
|
||||
Storage = DOM.Storage,
|
||||
type = Util.type,
|
||||
exec = Util.exec,
|
||||
join = CloudCmd.join,
|
||||
|
|
@ -296,7 +297,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
var value = Ace.getValue();
|
||||
|
||||
diff(value, function(patch) {
|
||||
var isAllowed = DOM.Storage.isAllowed();
|
||||
var isAllowed = Storage.isAllowed();
|
||||
|
||||
exec.if(!isAllowed, callback, function(func) {
|
||||
DOM.checkStorageHash(path, function(error, equal) {
|
||||
|
|
@ -317,7 +318,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
|
||||
DOM.load.js(url, function(error) {
|
||||
var patch,
|
||||
isAllowed = DOM.Storage.isAllowed();
|
||||
isAllowed = Storage.isAllowed();
|
||||
|
||||
if (error) {
|
||||
Dialog.alert(error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue