Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readme

  • Loading branch information...
commit b83591bd1eca58012417d739460767b9419ca730 1 parent 6370853
Tomasz Mazur authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.md
View
4 readme.md
@@ -6,7 +6,7 @@ NANO - jQuery Template Engine
Assuming you have following JSON response:
<pre>
-user = {
+data= {
user: {
login: "tomek",
first_name: "Thomas",
@@ -22,7 +22,7 @@ user = {
you can make:
<code>
- $.nano("&lt;p&gt;Hello {user.first_name} {user.last_name}! Your account is &lt;strong&gt;{user.account.status}&lt;/strong&gt;&lt;/p&gt;", user)
+ $.nano("&lt;p&gt;Hello {user.first_name} {user.last_name}! Your account is &lt;strong&gt;{user.account.status}&lt;/strong&gt;&lt;/p&gt;", data)
</code>
and you get ready string:
Please sign in to comment.
Something went wrong with that request. Please try again.