mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
0faf4c934e
Refactor bundle platform/commonUI/dialog such that the concerns of showing dialogs (including showing a single instance thereof) and managing changes to the DOM are more cleanly separated. This simplifies testing and satisfies code style guidelines for this bundle, in preparation for its inclusion among common user interface bundles to be transitioned in WTD-574.
22 lines
598 B
JSON
22 lines
598 B
JSON
{
|
|
"extensions": {
|
|
"services": [
|
|
{
|
|
"key": "dialogService",
|
|
"implementation": "DialogService.js",
|
|
"depends": [ "overlayService", "$q", "$log" ]
|
|
},
|
|
{
|
|
"key": "overlayService",
|
|
"implementation": "OverlayService.js",
|
|
"depends": [ "$document", "$compile", "$rootScope" ]
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "overlay-dialog",
|
|
"templateUrl": "templates/overlay.html"
|
|
}
|
|
]
|
|
}
|
|
} |