diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-27 11:53:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 11:53:07 -0400 |
commit | 6b6ee765502a7f449bd1682d83716c59f4fa4729 (patch) | |
tree | 7159fd2e60f9462166cc929677ef148b9a13b20b /ext/mixed/js | |
parent | 3b6e3193ae5e6248ad1405de50a98fb41796bc2e (diff) |
Move searchTerms/searchKanji to front of object definitions (#873)
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/text-scanner.js | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js index fe20cb1c..d8bdd653 100644 --- a/ext/mixed/js/text-scanner.js +++ b/ext/mixed/js/text-scanner.js @@ -120,12 +120,28 @@ class TextScanner extends EventDispatcher { include, exclude, types, - options: {scanOnTouchMove, scanOnPenHover, scanOnPenPress, scanOnPenRelease, searchTerms, searchKanji, preventTouchScrolling} + options: { + searchTerms, + searchKanji, + scanOnTouchMove, + scanOnPenHover, + scanOnPenPress, + scanOnPenRelease, + preventTouchScrolling + } }) => ({ include: this._getInputArray(include), exclude: this._getInputArray(exclude), types: this._getInputTypeSet(types), - options: {scanOnTouchMove, scanOnPenHover, scanOnPenPress, scanOnPenRelease, searchTerms, searchKanji, preventTouchScrolling} + options: { + searchTerms, + searchKanji, + scanOnTouchMove, + scanOnPenHover, + scanOnPenPress, + scanOnPenRelease, + preventTouchScrolling + } })); } if (typeof deepContentScan === 'boolean') { |