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:17:27 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-28 03:17:27 +0100
commitf9980b08c172109dd7b9d2b756607b58c914960b (patch)
treeb09e7b704bb530cc608fa2181be084eec0127338 /3rdparty/js/angular-1.0.2/docs/partials/api/angular.identity.html
parent6a89c71a2a49d41efb9b763cc03c51c942f45eed (diff)
parent39d7c4a399252d0084cf1ef1d2e41109aaee0bd2 (diff)
merge master into filesystem
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>