openmct/platform/representation/bundle.json
Victor Woeltjen b4a44dee8f [Representation] Populate mct-include contents
Remove usage of ng-include and template from mct-include for
compatibility with element-level transclusion. Has useful
side effect of pre-fetching templates and reducing watch
count.
2015-10-28 11:13:53 -07:00

68 lines
2.0 KiB
JSON

{
"extensions": {
"directives": [
{
"key": "mctInclude",
"implementation": "MCTInclude.js",
"depends": [ "templates[]", "$sce", "$http", "$compile" ]
},
{
"key": "mctRepresentation",
"implementation": "MCTRepresentation.js",
"depends": [ "representations[]", "views[]", "representers[]", "$q", "$sce", "$log" ]
}
],
"gestures": [
{
"key": "drag",
"implementation": "gestures/DragGesture.js",
"depends": [ "$log", "dndService" ]
},
{
"key": "drop",
"implementation": "gestures/DropGesture.js",
"depends": [ "dndService", "$q" ]
},
{
"key": "menu",
"implementation": "gestures/ContextMenuGesture.js",
"depends": ["$timeout", "agentService"]
}
],
"components": [
{
"provides": "gestureService",
"type": "provider",
"implementation": "gestures/GestureProvider.js",
"depends": ["gestures[]"]
}
],
"representers": [
{
"implementation": "gestures/GestureRepresenter.js",
"depends": [ "gestureService" ]
}
],
"services": [
{
"key": "dndService",
"implementation": "services/DndService.js",
"depends": [ "$log" ]
}
],
"actions": [
{
"key": "menu",
"implementation": "actions/ContextMenuAction.js",
"depends": [
"$compile",
"$document",
"$rootScope",
"popupService",
"agentService"
]
}
]
}
}