forked from spraakbanken/korp-frontend
-
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.
util, model, search_controllers: Add plugin hook points
Add plugin hook points to be used in plugin cqp_between_tokens. app/scripts/model.js: - BaseProxy.expandCQP: Let plugins filter the expanded CQP. app/scripts/search_controllers.js - ExtendedSearch: Let plugins filter the extended search CQP expression and act when corpus selection is changed. app/scripts/util.js - CorpusListing.constructor, .select: Let plugins act on CorpusListing after constructing it and when selecting corpora.
- Loading branch information
1 parent
2f83138
commit 64d3566
Showing
3 changed files
with
15 additions
and
2 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