Skip to content
Browse files

Update README&TODO

  • Loading branch information...
1 parent 34a8bed commit 602fb0899073bde9049571fbefccb9a2c590f679 @mxcl committed
Showing with 8 additions and 4 deletions.
  1. +4 −4 README.md
  2. +4 −0 TODO.md
View
8 README.md
@@ -23,13 +23,13 @@ Inline HTML
-----------
```js
-/** bs **/
+/** This bs: **/
var bar = <div class="abc">
Hello <a href='#{href}'>#{name}</a>, sup?
</div>;
-/** js **/
+/** Becomes this js: **/
var bar = $('<div class="abc"> '+
'Hello <a href="' + href + '">' + name + '</a>, sup? '+
@@ -106,8 +106,8 @@ for `make` here’s an implicit rule you can use:
Inline HTML Caveats
===================
You have to cleanly terminate your HTML tags. This is how the parser
-determines where HTML ends. So if you start with a <div> end with a </div>.
-Though having said this, we understand tags like <img> too. Also you can do
+determines where HTML ends. So if you start with a `<div>` end with a `</div>`.
+Though having said this, we understand tags like `<img>` too. Also you can do
this:
```js
View
4 TODO.md
@@ -1,5 +1,9 @@
Maybe This Stuff?
=================
+`%w[a v b]`
+-----------
+* Creates array of strings separated by spaces, like Ruby’s.
+
`<<`
----
```js

0 comments on commit 602fb08

Please sign in to comment.
Something went wrong with that request. Please try again.