Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Dec 10, 2013
1 parent 9bbbd61 commit b71fb2b
Show file tree
Hide file tree
Showing 19 changed files with 84 additions and 225 deletions.
10 changes: 0 additions & 10 deletions application.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
12 changes: 0 additions & 12 deletions chaplin.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down Expand Up @@ -162,9 +152,7 @@ <h1>chaplin.coffee</h1>
<span class="attribute">CollectionView</span>: <span class="built_in">require</span> <span class="string">'chaplin/views/collection_view'</span>
<span class="attribute">Route</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/route'</span>
<span class="attribute">Router</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/router'</span>
<span class="attribute">Delayer</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/delayer'</span>
<span class="attribute">EventBroker</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/event_broker'</span>
<span class="attribute">helpers</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/helpers'</span>
<span class="attribute">support</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/support'</span>
<span class="attribute">SyncMachine</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/sync_machine'</span>
<span class="attribute">utils</span>: <span class="built_in">require</span> <span class="string">'chaplin/lib/utils'</span></pre></div></div>
Expand Down
10 changes: 0 additions & 10 deletions collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
29 changes: 11 additions & 18 deletions collection_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down Expand Up @@ -914,10 +904,12 @@ <h2 id="rendering">Rendering</h2>

</div>

<div class="content"><div class='highlight'><pre> <span class="keyword">if</span> $
<span class="property">@$list</span> = <span class="keyword">if</span> <span class="property">@listSelector</span> <span class="keyword">then</span> <span class="property">@$</span>(<span class="property">@listSelector</span>) <span class="keyword">else</span> <span class="property">@$el</span>
<div class="content"><div class='highlight'><pre> listSelector = _.result <span class="keyword">this</span>, <span class="string">'listSelector'</span>

<span class="keyword">if</span> $
<span class="property">@$list</span> = <span class="keyword">if</span> listSelector <span class="keyword">then</span> <span class="property">@$</span>(listSelector) <span class="keyword">else</span> <span class="property">@$el</span>
<span class="keyword">else</span>
<span class="property">@list</span> = <span class="keyword">if</span> <span class="property">@listSelector</span> <span class="keyword">then</span> <span class="property">@find</span>(<span class="property">@listSelector</span>) <span class="keyword">else</span> <span class="property">@el</span>
<span class="property">@list</span> = <span class="keyword">if</span> listSelector <span class="keyword">then</span> <span class="property">@find</span>(<span class="property">@listSelector</span>) <span class="keyword">else</span> <span class="property">@el</span>

<span class="property">@initFallback</span>()
<span class="property">@initLoadingIndicator</span>()</pre></div></div>
Expand Down Expand Up @@ -1318,9 +1310,10 @@ <h2 id="filtering">Filtering</h2>

</div>

<div class="content"><div class='highlight'><pre> <span class="property">@filterer</span> = filterer
<span class="property">@filterCallback</span> = filterCallback <span class="keyword">if</span> filterCallback
filterCallback ?= <span class="property">@filterCallback</span>
<div class="content"><div class='highlight'><pre> <span class="keyword">if</span> <span class="keyword">typeof</span> filterer <span class="keyword">is</span> <span class="string">'function'</span> <span class="keyword">or</span> filterer <span class="keyword">is</span> <span class="literal">null</span>
<span class="property">@filterer</span> = filterer
<span class="keyword">if</span> <span class="keyword">typeof</span> filterCallback <span class="keyword">is</span> <span class="string">'function'</span> <span class="keyword">or</span> filterCallback <span class="keyword">is</span> <span class="literal">null</span>
<span class="property">@filterCallback</span> = filterCallback

hasItemViews = <span class="keyword">do</span><span class="function"> =&gt;</span>
<span class="keyword">if</span> <span class="property">@subviews</span>.length &gt; <span class="number">0</span>
Expand Down Expand Up @@ -1357,8 +1350,8 @@ <h2 id="filtering">Filtering</h2>

</div>

<div class="content"><div class='highlight'><pre> included = <span class="keyword">if</span> <span class="keyword">typeof</span> filterer <span class="keyword">is</span> <span class="string">'function'</span>
filterer item, index
<div class="content"><div class='highlight'><pre> included = <span class="keyword">if</span> <span class="keyword">typeof</span> <span class="property">@filterer</span> <span class="keyword">is</span> <span class="string">'function'</span>
<span class="property">@filterer</span> item, index
<span class="keyword">else</span>
<span class="literal">true</span></pre></div></div>

Expand Down
10 changes: 0 additions & 10 deletions composer.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
10 changes: 0 additions & 10 deletions composition.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
14 changes: 2 additions & 12 deletions controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down Expand Up @@ -151,7 +141,7 @@ <h1>controller.coffee</h1>
_ = <span class="built_in">require</span> <span class="string">'underscore'</span>
Backbone = <span class="built_in">require</span> <span class="string">'backbone'</span>
EventBroker = <span class="built_in">require</span> <span class="string">'chaplin/lib/event_broker'</span>
helpers = <span class="built_in">require</span> <span class="string">'chaplin/lib/helpers'</span>
utils = <span class="built_in">require</span> <span class="string">'chaplin/lib/utils'</span>
mediator = <span class="built_in">require</span> <span class="string">'chaplin/mediator'</span>

module.<span class="built_in">exports</span> = <span class="class"><span class="keyword">class</span> <span class="title">Controller</span></span></pre></div></div>
Expand Down Expand Up @@ -301,7 +291,7 @@ <h2 id="redirection">Redirection</h2>

<div class="content"><div class='highlight'><pre> <span class="attribute">redirectTo</span>: <span class="function"><span class="params">(pathDesc, params, options)</span> -&gt;</span>
<span class="property">@redirected</span> = <span class="literal">true</span>
helpers.redirectTo pathDesc, params, options</pre></div></div>
utils.redirectTo pathDesc, params, options</pre></div></div>

</li>

Expand Down
14 changes: 3 additions & 11 deletions dispatcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down Expand Up @@ -415,7 +405,9 @@ <h2 id="starting-and-disposing-controllers-">Starting and disposing controllers.
<span class="keyword">if</span> define?.amd
<span class="built_in">require</span> [moduleName], handler
<span class="keyword">else</span>
handler <span class="built_in">require</span> moduleName</pre></div></div>
setTimeout<span class="function"> =&gt;</span>
handler <span class="built_in">require</span> moduleName
, <span class="number">0</span></pre></div></div>

</li>

Expand Down
10 changes: 0 additions & 10 deletions event_broker.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
10 changes: 0 additions & 10 deletions history.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
15 changes: 2 additions & 13 deletions layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down Expand Up @@ -151,7 +141,6 @@ <h1>layout.coffee</h1>
_ = <span class="built_in">require</span> <span class="string">'underscore'</span>
Backbone = <span class="built_in">require</span> <span class="string">'backbone'</span>
mediator = <span class="built_in">require</span> <span class="string">'chaplin/mediator'</span>
helpers = <span class="built_in">require</span> <span class="string">'chaplin/lib/helpers'</span>
utils = <span class="built_in">require</span> <span class="string">'chaplin/lib/utils'</span>
EventBroker = <span class="built_in">require</span> <span class="string">'chaplin/lib/event_broker'</span>
View = <span class="built_in">require</span> <span class="string">'chaplin/views/view'</span></pre></div></div>
Expand Down Expand Up @@ -327,7 +316,7 @@ <h2 id="controller-startup-and-disposal">Controller startup and disposal</h2>

</div>

<div class="content"><div class='highlight'><pre> <span class="attribute">scroll</span>: <span class="function"><span class="params">(controller)</span> -&gt;</span></pre></div></div>
<div class="content"><div class='highlight'><pre> <span class="attribute">scroll</span>:<span class="function"> -&gt;</span></pre></div></div>

</li>

Expand Down Expand Up @@ -574,7 +563,7 @@ <h2 id="automatic-routing-of-internal-links">Automatic routing of internal links

</div>

<div class="content"><div class='highlight'><pre> helpers.redirectTo <span class="attribute">url</span>: href</pre></div></div>
<div class="content"><div class='highlight'><pre> utils.redirectTo <span class="attribute">url</span>: href</pre></div></div>

</li>

Expand Down
10 changes: 0 additions & 10 deletions mediator.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
10 changes: 0 additions & 10 deletions model.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,11 @@
</a>


<a class="source" href="delayer.html">
delayer.coffee
</a>


<a class="source" href="event_broker.html">
event_broker.coffee
</a>


<a class="source" href="helpers.html">
helpers.coffee
</a>


<a class="source" href="history.html">
history.coffee
</a>
Expand Down
Loading

0 comments on commit b71fb2b

Please sign in to comment.