Permalink
Browse files

readme

  • Loading branch information...
1 parent 402f65e commit 6370853ce2a4397dbbd300a9d66cc47a7cf96dd6 Tomasz Mazur committed Jul 9, 2009
Showing with 11 additions and 4 deletions.
  1. +11 −4 readme.md
View
@@ -1,8 +1,7 @@
NANO - jQuery Template Engine
=============================
-Basic Usage
-===========
+***Basic Usage***
Assuming you have following JSON response:
@@ -34,11 +33,19 @@ and you get ready string:
Simple huh?
-More Advanced Example
-=====================
+***More Advanced Example***
+
Displaying list of twitter search results (JSONP API)
+**html**
+
+<pre>
+ &lt;ul id=&quot;tweets&quot;&gt;&lt;/ul&gt;
+</pre>
+
+**javascript**
+
<pre>
var template = "&lt;li&gt;&lt;strong&gt;@{from_user}&lt;/strong&gt; {original_text}&lt;/li&gt;"
var query = "beer OR vodka"

0 comments on commit 6370853

Please sign in to comment.