[BUGFIX] Addons with empty directories

Sure. I'm out for the day so I'll do that tonight

On Saturday, August 9, 2014, Robert Jackson <notifications@github.com>
wrote:

> In lib/broccoli/ember-addon.js:
>
> > @@ -27,3 +27,13 @@ function EmberAddon(options) {
> >      },
> >    }, defaults));
> >  }
> > +
> > +EmberAddon.prototype = Object.create(EmberApp.prototype);
> > +EmberAddon.prototype.constructor = EmberAddon;
> > +EmberAddon.prototype.appConstructor = EmberApp.prototype.constructor;
> > +EmberAddon.prototype.oldInitializeAddons = EmberApp.prototype.initializeAddons;
> > +
> > +EmberAddon.prototype.initializeAddons = function() {
> > +  this.project.addIfAddon(this.project.root);
> > +  this.oldInitializeAddons();
>
> Nevermind, I get it now. Can we call it superInitalizeAddons or something
> to make it more obvious?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/stefanpenner/ember-cli/pull/1621/files#r16027420>.
>


-- 

----------------------
Brian Cardarella
CEO of DockYard
Visit us: http://dockyard.com
Call us: (855) DOCK-YRD
Follow me on Twitter: http://twitter.com/bcardarella
Follow us on Twitter: http://twitter.com/DockYard