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

Commit aecd551

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 837e519 commit aecd551

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Angular.js

+5-5
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)