From 940bf8328802402c266cf044d4934be2875365a9 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Fri, 20 Aug 2010 11:52:37 -0500 Subject: [PATCH] Fix tabs in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 78fb789..0446b94 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ How? After including json2.js and markov.js in your page... - var test = new markov(text, type, regex); + var test = new markov(text, type, regex); The text can be anything you so desire. The type should be "string" or "json". @@ -22,15 +22,15 @@ Methods to generate a phrase of a given length: - test.gen(length); + test.gen(length); to see the object containing the data: - test.data; + test.data; to get the JSON generated by JSON2.js of the data: - test.getJson(); + test.getJson(); A warning though, you probably only want to use the JSON for making things a bit faster on the processing end with long text, as the JSON tends to be an order of magnitude greater in file size than the input text.