splitting the core

This is a heavy one. Perhaps the heaviest. Massive changes on mean.js + dislocation of aggregation into a separate module. Currently the module is local, and required by
require('./aggregation')
but frees the mean.js from all the internal variable bindings, and - splits the core!
Expecting a thorough discussion to see how this might fit into the overall mean.io roadmap.
Theory proven - PR updated :)

On Thu, Sep 11, 2014 at 2:14 PM, Yonatan Ellman <notifications@github.com>
wrote:

> In lib/aggregation.js:
>
> > +      weight: weights[file].weight
> > +    });
> > +  }
> > +  aggregated[group][ext].data = _.map(_.sortBy(temp, 'weight'), function(value) {
> > +    return value.data;
> > +  }).join('\n');
> > +}
> > +
> > +function Aggregator(options,libs,debug){
> > +  this.options = options;
> > +  this.libs = libs;
> > +  this.debug;
> > +}
> > +
> > +Aggregator.prototype.addInlineCode = function(ext,data){
> > +  var md5 = crypto.createHash('md5');
>
> @andrija-hers <https://github.com/andrija-hers> this pull request is
> based off of your master. in theory if you push to you master it will
> update the PR
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/linnovate/mean-cli/pull/36/files#r17417206>.
>