Merge pull request #28 from flamendless/master

Fixed typos
This commit is contained in:
Max Cahill 2021-07-19 20:34:42 +10:00 committed by GitHub
commit 26c5920efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ end
--subscribe to an event
--can be a specifically named event, or "everything" to get notified for any event
--for "everything", the callback will recieve the event name as the first argument
--for "everything", the callback will receive the event name as the first argument
function pubsub:subscribe(event, callback)
local callbacks = self.subscriptions[event]
if not callbacks then

View File

@ -14,7 +14,7 @@ local timer = class({
})
--create a timer, with optional callbacks
--callbacks recieve as arguments:
--callbacks receive as arguments:
-- the current progress as a number from 0 to 1, so can be used for lerps
-- the timer object, so can be reset if needed
function timer:new(time, on_progress, on_finish)