For plugin outlets, automatically assign the unique name as a class to

the connector.
This commit is contained in:
Robin Ward 2014-12-30 17:08:39 -05:00
parent 57b89a2c7f
commit 0e0d8e79df
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function buildConnectorCache() {
// We are going to add it back with the proper template
_connectorCache[outletName].removeObject(viewClass);
} else {
viewClass = Em.View.extend({ classNames: [outletName + '-outlet'] });
viewClass = Em.View.extend({ classNames: [outletName + '-outlet', uniqueName] });
}
_connectorCache[outletName].pushObject(viewClass.extend(mixin));
});