summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2016-12-24 14:39:32 -0700
committermo khan <mo@mokhan.ca>2016-12-24 14:39:32 -0700
commit3cbfcc7e8bd6a04e405148b44d6e4fa99168ddad (patch)
tree98b0ce61cb30d1af834fd50cd6c3908369e3f834
parent74b2da462bc219e16caf15e6bcf43a962cc070f2 (diff)
remove extra logging.
-rw-r--r--app/boot/wire-up-components-into.js1
-rw-r--r--app/infrastructure/event-aggregator.js1
-rw-r--r--app/infrastructure/registry.js3
3 files changed, 0 insertions, 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;
}
}