mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
73f9555002
@ -125,7 +125,7 @@ function pubsub:unsubscribe(event, callback)
|
||||
end
|
||||
|
||||
--check if there is a subscriber for a given event
|
||||
function pubsub:has_subcriber(event)
|
||||
function pubsub:has_subscriber(event)
|
||||
return self.subscriptions[event] ~= nil
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user