Skip to content

Commit

Permalink
Fix component logging in debug mode.
Browse files Browse the repository at this point in the history
 - closes #349
  • Loading branch information
Corneliu C. Prodescu committed May 21, 2015
1 parent 2e7d558 commit c741a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ define(

name = typeof eventType == 'object' ? eventType.type : eventType;

logFilter = DEBUG.events.logFilter;
logFilter = window.DEBUG.events.logFilter;

// no regex for you, actions...
actionLoggable = logFilter.actions == 'all' || (logFilter.actions.indexOf(action) > -1);
Expand Down

0 comments on commit c741a6a

Please sign in to comment.