From 3cbfcc7e8bd6a04e405148b44d6e4fa99168ddad Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 24 Dec 2016 14:39:32 -0700 Subject: remove extra logging. --- app/boot/wire-up-components-into.js | 1 - app/infrastructure/event-aggregator.js | 1 - app/infrastructure/registry.js | 3 --- 3 files changed, 5 deletions(-) diff --git a/app/boot/wire-up-components-into.js b/app/boot/wire-up-components-into.js index 5950171..a11eeff 100644 --- a/app/boot/wire-up-components-into.js +++ b/app/boot/wire-up-components-into.js @@ -27,7 +27,6 @@ export default class WireUpComponentsInto { this.registerSubscribers(queries); this.registry.resolveAll("subscriber").forEach((subscriber) => { - console.log(`subscribing: ${subscriber}`); subscriber.subscribeTo(this.registry.resolve('eventAggregator')); }); return this.registry; diff --git a/app/infrastructure/event-aggregator.js b/app/infrastructure/event-aggregator.js index ab70c43..429caa4 100644 --- a/app/infrastructure/event-aggregator.js +++ b/app/infrastructure/event-aggregator.js @@ -8,7 +8,6 @@ export default class EventAggregator { } publish(event) { - console.log("publishing:"); this._subscriptionsFor(event.event).forEach((x) => { x.notify(event); }); diff --git a/app/infrastructure/registry.js b/app/infrastructure/registry.js index 24a075e..6d94fcf 100644 --- a/app/infrastructure/registry.js +++ b/app/infrastructure/registry.js @@ -24,7 +24,6 @@ export class Resolver { resolveDependenciesUsing(container) { let ctor = this.parseConstructor(this.factory); - console.log(`Building: ${ctor[1]}`); let parameters = ctor.slice(2)[0].split(',').filter(Boolean); let dependencies = parameters.map((parameter) => { return container.resolve(parameter.trim()); @@ -82,8 +81,6 @@ export default class Registry { return registration.create(this); } catch(error) { console.error(`ERROR: Could not resolve "${key}" ${error}`); - console.log("REGISTERED:"); - console.log(this.registrations); throw error; } } -- cgit v1.2.3