From 4caf95bfd031640010d968e05756399ec3715ea3 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Mon, 18 Jun 2012 02:09:36 +0200 Subject: [PATCH] README: update initialization instructions With the Lua 5.2 port we change the way vicious is loaded as a module, so that it remains backwards compatible with Lua 5.1 users. Also added the author of the Lua 5.2 port to the contributors list. --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index 69ca8ad..d0f52b8 100644 --- a/README +++ b/README @@ -35,7 +35,7 @@ your memory. Then add the following to the top of your rc.lua: - require("vicious") + local vicious = require("vicious") Once you create a widget (a textbox, graph or a progressbar) call vicious.register() to register it with Vicious: @@ -559,3 +559,4 @@ Vicious contributors: - Hiltjo Posthuma - Hagen Schink - Jörg Thalheim + - Arvydas Sidorenko