Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f943e37

Browse files
committed
docs(angular.copy): fix formatting
Using `<br>` messes formatting (due to a bug in `dgeni`/`dgeni-packages`). This started breaking in c387e0d. Fixes #16671
1 parent 30084c1 commit f943e37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Angular.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -791,16 +791,16 @@ function arrayRemove(array, value) {
791791
* * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.
792792
* * If `source` is identical to `destination` an exception will be thrown.
793793
*
794-
* <br />
794+
* <p><!-- Using a `br` tag messes up the formatting due a doc-gen bug. --></p>
795795
* <div class="alert alert-warning">
796796
* Only enumerable properties are taken into account. Non-enumerable properties (both on `source`
797797
* and on `destination`) will be ignored.
798798
* </div>
799799
*
800-
* @param {*} source The source that will be used to make a copy.
801-
* Can be any type, including primitives, `null`, and `undefined`.
802-
* @param {(Object|Array)=} destination Destination into which the source is copied. If
803-
* provided, must be of the same type as `source`.
800+
* @param {*} source The source that will be used to make a copy. Can be any type, including
801+
* primitives, `null`, and `undefined`.
802+
* @param {(Object|Array)=} destination Destination into which the source is copied. If provided,
803+
* must be of the same type as `source`.
804804
* @returns {*} The copy or updated `destination`, if `destination` was specified.
805805
*
806806
* @example

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy