diff --git a/platform/containment/bundle.json b/platform/containment/bundle.json new file mode 100644 index 0000000000..483ecb0677 --- /dev/null +++ b/platform/containment/bundle.json @@ -0,0 +1,11 @@ +{ + "extensions": { + "policies": [ + { + "category": "composition", + "implementation": "CompositionPolicy.js", + "depends": [ "typeService", "capabilityService" ] + } + ] + } +} \ No newline at end of file diff --git a/platform/containment/src/CapabilityTable.js b/platform/containment/src/CapabilityTable.js index 6a4f4a1e54..7b33ea681f 100644 --- a/platform/containment/src/CapabilityTable.js +++ b/platform/containment/src/CapabilityTable.js @@ -8,7 +8,9 @@ define( /** * Build a table indicating which types are expected to expose - * which capabilities. + * which capabilities. This supports composition policy (rules + * for which objects can contain which other objects) which + * sometimes is determined based on the presence of capabilities. */ function CapabilityTable(typeService, capabilityService) { var table = {};