Upgrade to angularjs 1.2.0 rc1
This commit is contained in:
parent
d223dfd662
commit
d6b021bfaf
674 changed files with 79667 additions and 62269 deletions
33
lib/angular/docs/partials/api/angular.bind.html
Normal file → Executable file
33
lib/angular/docs/partials/api/angular.bind.html
Normal file → Executable file
|
@ -1,23 +1,18 @@
|
|||
<h1><code ng:non-bindable="">angular.bind</code>
|
||||
<span class="hint">(API in module <code ng:non-bindable="">ng</code>
|
||||
)</span>
|
||||
<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/Angular.js#L734" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">angular.bind</code>
|
||||
<div><span class="hint">API in module <code ng:non-bindable="">ng</code>
|
||||
</span>
|
||||
</div>
|
||||
</h1>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/src/Angular.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
|
||||
<div class="description"><p>Returns a function which calls function <code>fn</code> bound to <code>self</code> (<code>self</code> becomes the <code>this</code> for
|
||||
<code>fn</code>). You can supply optional <code>args</code> that are are prebound to the function. This feature is also
|
||||
known as <a href="http://en.wikipedia.org/wiki/Currying">function currying</a>.</p></div>
|
||||
<div><h2 id="Description">Description</h2>
|
||||
<div class="description"><div class="angular-bind-page"><p>Returns a function which calls function <code>fn</code> bound to <code>self</code> (<code>self</code> becomes the <code>this</code> for
|
||||
<code>fn</code>). You can supply optional <code>args</code> that are prebound to the function. This feature is also
|
||||
known as <a href="http://en.wikipedia.org/wiki/Currying">function currying</a>.</p>
|
||||
</div></div>
|
||||
<h2 id="Usage">Usage</h2>
|
||||
<div class="usage"><pre class="prettyprint linenums">angular.bind(self, fn, args);</pre>
|
||||
<h3 id="Parameters">Parameters</h3>
|
||||
<ul class="parameters"><li><code ng:non-bindable="">self – {Object} – </code>
|
||||
<p>Context which <code>fn</code> should be evaluated in.</p></li>
|
||||
<li><code ng:non-bindable="">fn – {function()} – </code>
|
||||
<p>Function to be bound.</p></li>
|
||||
<li><code ng:non-bindable="">args – {...*} – </code>
|
||||
<p>Optional arguments to be prebound to the <code>fn</code> function call.</p></li>
|
||||
</ul>
|
||||
<h3 id="Returns">Returns</h3>
|
||||
<div class="returns"><code ng:non-bindable="">{function()}</code>
|
||||
– <p>Function that wraps the <code>fn</code> with all the specified bindings.</p></div>
|
||||
</div>
|
||||
<h4 id="parameters">Parameters</h4><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>self</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="angular-bind-page"><p>Context which <code>fn</code> should be evaluated in.</p>
|
||||
</div></td></tr><tr><td>fn</td><td><a href="" class="label type-hint type-hint-function">function()</a></td><td><div class="angular-bind-page"><p>Function to be bound.</p>
|
||||
</div></td></tr><tr><td>args</td><td><a href="" class="label type-hint type-hint-object">...*</a></td><td><div class="angular-bind-page"><p>Optional arguments to be prebound to the <code>fn</code> function call.</p>
|
||||
</div></td></tr></tbody></table><h4 id="returns">Returns</h4><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-function">function()</a></td><td><div class="angular-bind-page"><p>Function that wraps the <code>fn</code> with all the specified bindings.</p>
|
||||
</div></td></tr></table></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue