Skip to content

Commit

Permalink
Added event name to debug output in transmit()
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpecor committed Jul 31, 2015
1 parent fce74ee commit 0648de1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "x-tag-switchboard",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/jasonpecor/x-tag-switchboard",
"authors": [
"jasonpecor <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion dist/x-tag-switchboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ xtag.mixins.switchboard = (function () {
var n = connections[evt].length;

if (debug)
console.log('switchboard -> %s connections', n, connections[evt]);
console.log('switchboard: "%s" -> %s connections', evt, n, connections[evt]);

options = options || {};

Expand Down
2 changes: 1 addition & 1 deletion dist/x-tag-switchboard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "x-tag-switchboard",
"version": "1.0.4",
"version": "1.0.5",
"description": "Mixin for managing global events for x-tags",
"main": "dist/switchboard.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/switchboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ xtag.mixins.switchboard = (function () {
var n = connections[evt].length;

if (debug)
console.log('switchboard -> %s connections', n, connections[evt]);
console.log('switchboard: "%s" -> %s connections', evt, n, connections[evt]);

options = options || {};

Expand Down

0 comments on commit 0648de1

Please sign in to comment.