@@ -276,7 +276,7 @@ define(function (require, exports, module) {
276276 loadTheme ( id ) ;
277277 exports . trigger ( "statusChange" , id ) ;
278278 }
279-
279+
280280 function deduceMetadata ( ) {
281281 var match = path . match ( / \/ ( [ ^ \/ ] + ) $ / ) ,
282282 name = ( match && match [ 1 ] ) || path ,
@@ -408,12 +408,12 @@ define(function (require, exports, module) {
408408 }
409409 return result . promise ( ) ;
410410 }
411-
411+
412412 /**
413413 * @private
414- *
414+ *
415415 * Disables or enables the installed extensions.
416- *
416+ *
417417 * @param {string } id The id of the extension to disable or enable.
418418 * @param {boolean } enable A boolean indicating whether to enable or disable.
419419 * @return {$.Promise } A promise that's resolved when the extension action is
@@ -438,21 +438,21 @@ define(function (require, exports, module) {
438438 }
439439 return result . promise ( ) ;
440440 }
441-
441+
442442 /**
443443 * Disables the installed extension with the given id.
444- *
444+ *
445445 * @param {string } id The id of the extension to disable.
446446 * @return {$.Promise } A promise that's resolved when the extenion is disabled or
447447 * rejected with an error that prevented the disabling.
448448 */
449449 function disable ( id ) {
450450 return _enableOrDisable ( id , false ) ;
451451 }
452-
452+
453453 /**
454454 * Enables the installed extension with the given id.
455- *
455+ *
456456 * @param {string } id The id of the extension to enable.
457457 * @return {$.Promise } A promise that's resolved when the extenion is enabled or
458458 * rejected with an error that prevented the enabling.
@@ -514,7 +514,7 @@ define(function (require, exports, module) {
514514 }
515515 exports . trigger ( "statusChange" , id ) ;
516516 }
517-
517+
518518 /**
519519 * Returns true if an extension is marked for removal.
520520 * @param {string } id The id of the extension to check.
@@ -523,7 +523,7 @@ define(function (require, exports, module) {
523523 function isMarkedForRemoval ( id ) {
524524 return ! ! ( _idsToRemove [ id ] ) ;
525525 }
526-
526+
527527 /**
528528 * Returns true if there are any extensions marked for removal.
529529 * @return {boolean } true if there are extensions to remove
@@ -534,7 +534,7 @@ define(function (require, exports, module) {
534534
535535 /**
536536 * Marks an extension for disabling later, or unmarks an extension previously marked.
537- *
537+ *
538538 * @param {string } id The id of the extension
539539 * @param {boolean } mark Whether to mark or unmark the extension.
540540 */
@@ -549,7 +549,7 @@ define(function (require, exports, module) {
549549
550550 /**
551551 * Returns true if an extension is mark for disabling.
552- *
552+ *
553553 * @param {string } id The id of the extension to check.
554554 * @return {boolean } true if it's been mark for disabling, false otherwise.
555555 */
@@ -564,7 +564,7 @@ define(function (require, exports, module) {
564564 function hasExtensionsToDisable ( ) {
565565 return Object . keys ( _idsToDisable ) . length > 0 ;
566566 }
567-
567+
568568 /**
569569 * Unmarks all the extensions that have been marked for disabling.
570570 */
@@ -644,14 +644,14 @@ define(function (require, exports, module) {
644644 }
645645 ) ;
646646 }
647-
647+
648648 /**
649649 * Disables extensions marked for disabling.
650- *
650+ *
651651 * If the return promise is rejected, the argument will contain an array of objects. Each
652652 * element is an object identifying the extension failed with "item" property set to the
653653 * extension id which has failed to be disabled and "error" property set to the error.
654- *
654+ *
655655 * @return {$.Promise } A promise that's resolved when all extensions marked for disabling are
656656 * disabled or rejected if one or more extensions can't be disabled.
657657 */
@@ -934,4 +934,4 @@ define(function (require, exports, module) {
934934 exports . _getAutoInstallFiles = _getAutoInstallFiles ;
935935 exports . _reset = _reset ;
936936 exports . _setExtensions = _setExtensions ;
937- } ) ;
937+ } ) ;
0 commit comments