Diff

init.lua @ 464:dc05a8d6dbfb

Fix whitespace
author Matthew Wild <mwild1@gmail.com>
date Thu, 16 Mar 2023 16:47:59 +0000
parent 463:98fe3ed54639
child 465:6707e3a47f71
line wrap: on
line diff
--- a/init.lua	Thu Mar 16 16:40:57 2023 +0000
+++ b/init.lua	Thu Mar 16 16:47:59 2023 +0000
@@ -188,13 +188,11 @@
 end
 
 function verse.eventable(object)
-        object.events = events.new();
-        object.hook, object.unhook = stream.hook, stream.unhook;
-        local fire_event = object.events.fire_event;
-        function object:event(name, ...)
-                return fire_event(name, ...);
-        end
-        return object;
+	object.events = events.new();
+	object.hook, object.unhook = stream.hook, stream.unhook;
+	local fire_event = object.events.fire_event;
+	function object:event(name, ...) return fire_event(name, ...); end
+	return object;
 end
 
 function stream:add_plugin(name)