doc/example.lua

changeset 433
5c77923ec1d9
parent 260
7f6df45a3d1f
--- a/doc/example.lua	Thu Oct 22 15:27:22 2020 +0100
+++ b/doc/example.lua	Thu Oct 22 15:27:48 2020 +0100
@@ -5,7 +5,7 @@
 -- handy if you're hacking on Verse itself
 --os.execute("squish --minify-level=none verse");
 
-require "verse".init("client");
+local verse = require "verse".init("client");
 
 c = verse.new();
 c:add_plugin("version");

mercurial