Permalink
Browse files

oh, the dom

  • Loading branch information...
defunkt committed Jun 28, 2009
1 parent a77af87 commit 8be9d848df6f172c1bb37b249576bdf303ba602a
Showing with 17 additions and 0 deletions.
  1. +17 −0 README.markdown
View
@@ -25,6 +25,23 @@ Here It Goes
Stuff like that.
+Oh, the DOM
+-----------
+
+ $ lyndon test.html
+ js> Lyndon.require('jquery.min.js')
+ => true
+ js> jQuery('#hi').html()
+ => "Hello."
+ js> jQuery('#hi').html('Hi.')
+ => [object Object]
+ js> jQuery('#hi').html()
+ => "Hi."
+ => "[object HTMLBodyElement]"
+ js> document.body.innerHTML
+ => "\n <h1 id=\"hi\">Hi.</h1>\n \n\n"
+
+
With Ruby
---------

0 comments on commit 8be9d84

Please sign in to comment.