Skip to content

Commit

Permalink
Merge pull request #2428 from Polymer/arthurevans-patch-1
Browse files Browse the repository at this point in the history
Add note on arrayDelete with array vs. path
  • Loading branch information
kevinpschaaf committed Sep 10, 2015
2 parents 83cce66 + d2b71a5 commit 453cae5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/standard/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,16 @@

/**
* Removes an item from an array, if it exists.
*
* If the array is specified by path, a change notification is
* generated, so that observers, data bindings and computed
* properties watching that path can update.
*
* If the array is passed directly, **no change
* notification is generated**.
*
* @method arrayDelete
* @param {String|Array} path Path torray from which to remove the item
* @param {String|Array} path Path to array from which to remove the item
* (or the array itself).
* @param {any} item Item to remove.
* @return {Array} Array containing item removed.
Expand Down

0 comments on commit 453cae5

Please sign in to comment.