summaryrefslogtreecommitdiffstats
path: root/3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html')
-rw-r--r--3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html b/3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html
new file mode 100644
index 000000000..1767081e8
--- /dev/null
+++ b/3rdparty/js/angular-1.0.2/docs/partials/api/angular.noop.html
@@ -0,0 +1,17 @@
+<h1><code ng:non-bindable="">angular.noop</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 performs no operations. This function can be useful when writing code in the
+functional style.
+ <pre class="prettyprint linenums">
+ function foo(callback) {
+ var result = calculateResult();
+ (callback || angular.noop)(result);
+ }
+ </pre></div>
+<h2 id="Usage">Usage</h2>
+<div class="usage"><pre class="prettyprint linenums">angular.noop();</pre>
+</div>
+</div>