This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QuerySelectorAll-770156: Refactor JSON cmd output
The command is now processing the node list into a plain object so it can potentially be serialized if needed. Also, the command does the util.findCssSelector bit as the converter doesn't get nodes anymore but just objects. This allowed to clean up the converter a bit (util and context are not needed anymore in the data object). Also, the context.exec was changed to avoid using the deprecated `typed` Finally the node onclick logic was changed to rely only on one onclick function. The required selector being passed as a data-attribute of the clicked node. Signed-off-by: Patrick Brosset <patrickbrosset@gmail.com>
- Loading branch information
Patrick Brosset
committed
Apr 29, 2013
1 parent
8f46774
commit 5b37479
Showing
4 changed files
with
57 additions
and
32 deletions.
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
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