[Containment] Add bundle declaration

WTD-962.
This commit is contained in:
Victor Woeltjen 2015-04-07 20:02:05 -07:00
parent 3c00eb86ea
commit 838a86830e
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,11 @@
{
"extensions": {
"policies": [
{
"category": "composition",
"implementation": "CompositionPolicy.js",
"depends": [ "typeService", "capabilityService" ]
}
]
}
}

View File

@ -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 = {};