-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document, test, and extend static
$.text
method (#855)
* Document and test static `text` method * Extend `$.text()` to operate on current root Update `$.root` to return the rendered text content of the current root element when no argument is specified. This increases API parity with the existing static methods `$.html` and``$.xml`. This change technically breaks backwards compatability, but the previous behavior was undocumented and untested.
- Loading branch information
1 parent
c6612f3
commit 54359c9
Showing
3 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters