summaryrefslogtreecommitdiffstats
path: root/3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-28 03:18:26 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-28 03:18:26 +0100
commitc4db5c8e30aa48b26a1f781f7fe21ee0cb208ad3 (patch)
treeb09e7b704bb530cc608fa2181be084eec0127338 /3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html
parentebee7168bf41649bd3ea99da4d85e50b6f51156d (diff)
parentf9980b08c172109dd7b9d2b756607b58c914960b (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.html17
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>