mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 06:04:35 +00:00
Merge pull request #71 from billmakes/pubsub-fix-method-spelling
fixes spelling mistake in has_subscriber
This commit is contained in:
commit
2052cdd61a
@ -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