1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

add pCallback param to docs

This commit is contained in:
Martin Zagora 2015-08-07 15:42:13 +10:00
parent 887a77f33b
commit 6afab584ad

View File

@ -205,6 +205,7 @@ function legacyPackageCheck(legacyDirectory) {
* @param {{disabledDirectory: !string, apiVersion: !string, nameHint: ?string,
* systemExtensionDirectory: !string}} additional settings to control the installation
* @param {function} callback (err, result)
* @param {function} pCallback (msg) callback for notifications about operation progress
* @param {boolean} _doUpdate private argument to signal that an update should be performed
*/
function _cmdInstall(packagePath, destinationDirectory, options, callback, pCallback, _doUpdate) {
@ -333,6 +334,7 @@ function _cmdInstall(packagePath, destinationDirectory, options, callback, pCall
* @param {{disabledDirectory: !string, apiVersion: !string, nameHint: ?string,
* systemExtensionDirectory: !string}} additional settings to control the installation
* @param {function} callback (err, result)
* @param {function} pCallback (msg) callback for notifications about operation progress
*/
function _cmdUpdate(packagePath, destinationDirectory, options, callback, pCallback) {
_cmdInstall(packagePath, destinationDirectory, options, callback, pCallback, true);