Skip to content

Commit

Permalink
Logger now referenced by object not string
Browse files Browse the repository at this point in the history
  • Loading branch information
rajgoel committed Sep 2, 2021
1 parent 2276044 commit e2d028a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seminar/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const initSeminar = function(Reveal){
return;
}

const logger = window[ seminar.logger || "defaultLogger" ];
const logger = seminar.logger || defaultLogger;

var socket = io.connect( seminar.server );
if ( seminar.callback )
Expand Down

0 comments on commit e2d028a

Please sign in to comment.