Skip to content

Commit

Permalink
remove emit call on init
Browse files Browse the repository at this point in the history
  • Loading branch information
bshack committed Apr 5, 2016
1 parent 88046b7 commit 272b187
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"**/.*",
"node_modules"
],
"version": "1.0.2"
"version": "1.0.3"
}
4 changes: 1 addition & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
var overrideProp = void 0;
var baseProp = void 0;

//extend he base view with overrides
//extend base mediator
for (overrideProp in overrideMediator) {
baseMediator[overrideProp] = overrideMediator[overrideProp];
}
Expand All @@ -52,8 +52,6 @@

// run it on instantiation
this.initialize();

this.emit('initialized');
};

// this sets up the events
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "white-label-mediator",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple JS mediator that allows communication between views.",
"main": "dist/index.js",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import util from 'util';
let overrideProp;
let baseProp;

//extend he base view with overrides
//extend base mediator
for (overrideProp in overrideMediator) {
baseMediator[overrideProp] = overrideMediator[overrideProp];
}
Expand All @@ -31,8 +31,6 @@ import util from 'util';
// run it on instantiation
this.initialize();

this.emit('initialized');

};

// this sets up the events
Expand Down

0 comments on commit 272b187

Please sign in to comment.