From cb94d95fd74c3f3146d93d9ff17e8cc8d20a01d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa?= Date: Tue, 7 Dec 2010 23:57:06 +0100 Subject: [PATCH] updated README --- README.textile | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/README.textile b/README.textile index 38a474a..1f8f0d5 100644 --- a/README.textile +++ b/README.textile @@ -43,22 +43,19 @@ Features left out: h1. Installation using git (recommended) The easiest way is creating a clone using git: -
-  git clone git://github.com/kikito/middleclass.git
-
+ +
git clone git://github.com/kikito/middleclass.git
This will create a folder called @middleclass@. You can require it using: -
-  require 'middleclass.init'
-
+ +
require 'middleclass.init'
If you have @?/init.lua@ included in your @package.path@ variable, you can remove the @.init@ part. If you ever want to update middleclass, you can use the following commands: -
-cd your/path/to/middleclass
-git pull origin master
-
+ +
cd your/path/to/middleclass
+git pull origin master
Git will automatically update middleclass for you. @@ -72,9 +69,7 @@ As an alternative, you can directly download "middleclass.lua":https://github.co In that case, you will have to require it doing something like this (will vary if you put middleclass.lua inside a folder): -
-  require 'middleclass'
-
+
require 'middleclass'
(This assumes you have @?.lua@ in your @package.path@, which is the default)