Clean some code

This commit is contained in:
yflory
2019-09-04 17:54:32 +02:00
parent 670d845262
commit fd7567188b
2 changed files with 10 additions and 5 deletions

View File

@@ -458,7 +458,9 @@ define([
}
}));
}).nThen(function () {
cb(id);
Env.onSync(function () {
cb(id);
});
});
};
@@ -935,6 +937,7 @@ define([
// Manager
addProxy: callWithEnv(addProxy),
removeProxy: callWithEnv(removeProxy),
addSharedFolder: callWithEnv(addSharedFolder);
// Drive
command: callWithEnv(onCommand),
getPadAttribute: callWithEnv(getPadAttribute),