Permalink
Browse files

Added AMD loader

  • Loading branch information...
1 parent 736433c commit 61bbf9772629ecf026636b59c1ec7373253458cc Kevin Malakoff committed Sep 17, 2012
View
@@ -1,6 +1,7 @@
module.exports =
library:
join: 'lifecycle.js'
+ wrapper: 'src/module-loader.js'
compress: true
files: 'src/**/*.coffee'
_build:
View
@@ -89,7 +89,7 @@ instance.release(); // ref_count = 0 and __destroy() called
# Release Notes
-###1.0.1
+###1.0.2
- converted back to CoffeeScript
@@ -116,7 +116,7 @@ Building, Running and Testing the library
Look at: https://github.com/kmalakoff/easy-bake
-[1]: https://raw.github.com/kmalakoff/lifecycle/1.0.1/lifecycle.js
-[2]: https://raw.github.com/kmalakoff/lifecycle/1.0.1/lifecycle.min.js
+[1]: https://raw.github.com/kmalakoff/lifecycle/1.0.2/lifecycle.js
+[2]: https://raw.github.com/kmalakoff/lifecycle/1.0.2/lifecycle.min.js
[3]: https://github.com/kmalakoff/backbone-articulation
View
@@ -0,0 +1,6 @@
+Please refer to the following release notes when upgrading your version of Lifecycle.js.
+
+## 1.0.2
+
+* renamed _destroy to __destroy to avoid conflicts.
+* added AMD loader.
View
@@ -1,11 +1,11 @@
-<!DOCTYPE html> <html> <head> <title>lifecycle.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> lifecycle.js </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-1">&#182;</a> </div> <p>Lifecycle.js 1.0.1
+<!DOCTYPE html> <html> <head> <title>lifecycle.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> lifecycle.js </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-1">&#182;</a> </div> <p>Lifecycle.js 1.0.2
(c) 2011, 2012 Kevin Malakoff.
Lifecycle is freely distributable under the MIT license.
https://github.com/kmalakoff/Lifecycle</p> </td> <td class="code"> <div class="highlight"><pre><span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
<span class="k">this</span><span class="p">.</span><span class="nx">Lifecyle</span> <span class="o">||</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">Lifecyle</span> <span class="o">=</span> <span class="p">{});</span>
<span class="k">this</span><span class="p">.</span><span class="nx">LC</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">Lifecyle</span><span class="p">;</span>
-<span class="nx">LC</span><span class="p">.</span><span class="nx">VERSION</span> <span class="o">=</span> <span class="s1">&#39;1.0.1&#39;</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>//////////////HELPERS - BEGIN//////////////////</p> </td> <td class="code"> <div class="highlight"><pre><span class="kd">var</span> <span class="nx">isArray</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">obj</span><span class="p">)</span> <span class="p">{</span>
+<span class="nx">LC</span><span class="p">.</span><span class="nx">VERSION</span> <span class="o">=</span> <span class="s1">&#39;1.0.2&#39;</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>//////////////HELPERS - BEGIN//////////////////</p> </td> <td class="code"> <div class="highlight"><pre><span class="kd">var</span> <span class="nx">isArray</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">obj</span><span class="p">)</span> <span class="p">{</span>
<span class="k">return</span> <span class="nx">obj</span><span class="p">.</span><span class="nx">constructor</span> <span class="o">==</span> <span class="nb">Array</span><span class="p">;</span>
<span class="p">};</span></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-3">&#182;</a> </div> <p>//////////////HELPERS - END//////////////////</p> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-4"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-4">&#182;</a> </div> <p>Deduces the type of ownership of an item and if available, it retains it (reference counted) or clones it.
<br/><strong>Options:</strong><br/>
Oops, something went wrong.

0 comments on commit 61bbf97

Please sign in to comment.