forked from browserify/detective
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for an option to include ranges in the response
Add an opts.ranges option in order to get a stringRanges response back from detective, including string locations for the matched strings. Currently only works for Literals in order to hack in an improvement for browserify/browserify#296 .
- Loading branch information
1 parent
ab71a3e
commit d4f6cd0
Showing
1 changed file
with
18 additions
and
3 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