From 1b66cdd29daf580bc5f6f0ceb0c54b15e3b7079a Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 14 Jun 2011 09:54:47 -0700 Subject: [PATCH] Edited README.md via GitHub --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5b069a7..05afb80 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,11 @@ Browser support: IE8+, Latest versions of Firefox, Chrome, Safari, Opera ## Basic Use: ## -* Selector: `var x = $(selector);` +* Selector: + var x = $(selector); -* Function: `$_.module.function(params);` +* Function: + $_.module.function(params); ## Modules: ## @@ -19,23 +21,28 @@ Browser support: IE8+, Latest versions of Firefox, Chrome, Safari, Opera functions: * Get: - Use: `$_.get(url, data_object, callback);` + Use: + $_.get(url, data_object, callback); * Post: - Use: `$_.post(url, data_object, callback);` + Use: + $_.post(url, data_object, callback); **QS**: querystring parsing and serialization for hashbang strings, and pushState urls functions: * Parse: - Use: `$_.qs.parse(hb);` + Use: + $_.qs.parse(hb); * Set: This function will set the hash url if browser doesn't have history.pushState - Use: `$_.qs.set(key, value);` + Use: + $_.qs.set(key, value); * Get: Retrieves the value of the key in the url string - Use: `$_.qs.get(key);` + Use: + $_.qs.get(key);