Permalink
Browse files

Merge branch 'master' of github.com:kmalakoff/lifecycle

  • Loading branch information...
Kevin Malakoff
Kevin Malakoff committed Jun 8, 2012
2 parents 570014f + 1908497 commit 8b54bccbb6b200c11d097989b2350052ac07765d
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
@@ -26,6 +26,7 @@ Manages the lifecycle of individual instances, objects, arrays, and object prope
### Examples:
Run time determination of the correct lifecycle for an instance:
+
```coffeescript
instance = new MyClass()
owned_copy_instance = LC.own(instance) # you don't need to know whether MyClass needs to get cloned, retained, etc
@@ -47,7 +48,7 @@ an_object = {one: new Object(), two: new Object(), three: ‘there’}
owned_copy_object = LC.own(an_object, {properties:true})
...
LC.disown(an_object);
-...
+```
## LC.RefCountable
Very basic implementation following the Coffeescript class pattern for a reference countable class.
@@ -116,4 +117,4 @@ Building, Running and Testing the library
###Commands:
-Look at: https://github.com/kmalakoff/easy-bake
+Look at: https://github.com/kmalakoff/easy-bake

0 comments on commit 8b54bcc

Please sign in to comment.