pass Clay to component initializer

This commit is contained in:
Keegan
2016-02-15 11:39:25 -08:00
parent 64fa83528e
commit ea5c349047
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ function ClayConfig(settings, config, $rootContainer) {
var _item = _.copyObj(item);
_item.clayId = _items.length;
var clayItem = new ClayItem(_item).initialize();
var clayItem = new ClayItem(_item).initialize(self);
if (_item.id) {
_itemsById[_item.id] = clayItem;