[API] Fix typo, add missing this

This commit is contained in:
Victor Woeltjen 2016-08-12 11:17:00 -07:00
parent 831ecc59d9
commit d73c505bea

View File

@ -13,7 +13,7 @@ define([], function () {
containerObject.type = containerType.getKey();
childObject.type = childType.getKey();
var composition = mct.Composition(containerObject);
var composition = this.mct.Composition(containerObject);
if (composition) {
return composition.canContain(childObject);