Skip to content

Commit

Permalink
Fix callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Aug 18, 2021
1 parent bfedf08 commit 68843b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moon/includes/modules/cfclogger.moon
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class CFCLogger
@parent\runCallbacksFor severity, message

on: (severity) =>
scope = self
addCallback = (callback) -> @addCallbackFor(scope, severity, callback)

{ call: addCallback }
Expand Down

0 comments on commit 68843b2

Please sign in to comment.