Permalink
Browse files

README.md

  • Loading branch information...
1 parent eb9ee38 commit 4882257b0b88f4e74891dc242fc647c1ac4674b6 @drewlesueur committed Mar 7, 2011
Showing with 15 additions and 15 deletions.
  1. +15 −15 README.md
View
@@ -3,28 +3,28 @@
fix index2.coffee
- obj = name: 'Drew'
+ obj = name: 'Drew'
- obj = k obj
+ obj = k obj
- obj '.name' # --> k("Drew")
- name = obj '.name'
- alert name() # --> alerts drew
+ obj '.name' # --> k("Drew")
+ name = obj '.name'
+ alert name() # --> alerts drew
- obj '.age', 26
+ obj '.age', 26
- str = k("Drew jajajaj")
- str('replace', 'j', 'h')('replace', 'h', 'o')('replace', 'Drew', 'Santa Claus')
- alert str()
+ str = k("Drew jajajaj")
+ str('replace', 'j', 'h')('replace', 'h', 'o')('replace', 'Drew', 'Santa Claus')
+ alert str()
- obj 'bind', 'before_set', (e) ->
- if e('.prop') == 'test'
- e ('meta')('.return_val', "this is a test")
-
+ obj 'bind', 'before_set', (e) ->
+ if e('.prop') == 'test'
+ e ('meta')('.return_val', "this is a test")
+
- obj '.test', 'not a test'
+ obj '.test', 'not a test'
- alert obj('.test')() # -> this is a test
+ alert obj('.test')() # -> this is a test

0 comments on commit 4882257

Please sign in to comment.