diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-28 03:18:26 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-28 03:18:26 +0100 |
commit | c4db5c8e30aa48b26a1f781f7fe21ee0cb208ad3 (patch) | |
tree | b09e7b704bb530cc608fa2181be084eec0127338 /3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html | |
parent | ebee7168bf41649bd3ea99da4d85e50b6f51156d (diff) | |
parent | f9980b08c172109dd7b9d2b756607b58c914960b (diff) |
merge filesystem into gallery
Diffstat (limited to '3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html')
-rw-r--r-- | 3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html b/3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html new file mode 100644 index 000000000..5f18c47fd --- /dev/null +++ b/3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html @@ -0,0 +1,17 @@ +<h1><code ng:non-bindable="">angular.identity</code> +<span class="hint">(API in module <code ng:non-bindable="">ng</code> +)</span> +</h1> +<div><h2 id="Description">Description</h2> +<div class="description"><p>A function that returns its first argument. This function is useful when writing code in the +functional style.</p> + +<pre class="prettyprint linenums"> + function transformer(transformationFn, value) { + return (transformationFn || identity)(value); + }; + </pre></div> +<h2 id="Usage">Usage</h2> +<div class="usage"><pre class="prettyprint linenums">angular.identity();</pre> +</div> +</div> |