mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-14 04:01: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
|
end
|
||||||
|
|
||||||
--check if there is a subscriber for a given event
|
--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
|
return self.subscriptions[event] ~= nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user