summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
Commit message (Collapse)AuthorAge
* Create functions for the cases of isMouseButtontoasted-nutbread2019-11-10
| | | | | | | | | | | | | | jshint was showing a warning that there was no break statement after the first case, which there doesn't need to be. The most straightforward way to fix this without using the unclear // jshint ignore:line is to just have two functions. This change also updates invocations of isMouseButton to use the exact case function, as this will remove the need to check the case of mosueEvent.type. This was done because onMouseMove is invoked at a high frequency.
* Fix overlapping popup timerstoasted-nutbread2019-11-05
|
* refactoring and optimizationsiikamiika2019-11-04
|
* prevent accidental lookup on glossary text selectsiikamiika2019-11-03
|
* Fix autoHideResults not workingtoasted-nutbread2019-11-03
|
* Group similar functions togethertoasted-nutbread2019-10-28
|
* Fix some issues with the context menutoasted-nutbread2019-10-28
|
* Style updatetoasted-nutbread2019-10-28
|
* Reset preventions earliertoasted-nutbread2019-10-28
|
* Check pendingLookup earliertoasted-nutbread2019-10-28
|
* Remove setPrimaryTouchtoasted-nutbread2019-10-28
|
* Simplify touch event implementationtoasted-nutbread2019-10-28
|
* Make selectionContainsPoint statictoasted-nutbread2019-10-28
|
* Improve namingtoasted-nutbread2019-10-28
|
* Remove setterstoasted-nutbread2019-10-28
|
* Remove unused variabletoasted-nutbread2019-10-28
|
* Remove searchFromTouchtoasted-nutbread2019-10-28
|
* Simplify how touch events use onAfterSearchtoasted-nutbread2019-10-28
|
* Rename textSourceLast to textSourceCurrenttoasted-nutbread2019-10-28
|
* Update how definitions are searched fortoasted-nutbread2019-10-28
|
* Move checktoasted-nutbread2019-10-28
|
* Remove unused varstoasted-nutbread2019-10-28
|
* Don't pass null textSource into searchSourcetoasted-nutbread2019-10-28
|
* Use promiseTimeouttoasted-nutbread2019-10-28
|
* Move onError catch into searchAttoasted-nutbread2019-10-28
|
* Make the search button reuse an open search tab if it existstoasted-nutbread2019-10-19
|
* Reposition popup on window resize rather than clear the searchtoasted-nutbread2019-10-17
| | | | Fixes #107
* Update *show* APIs to unified showContent and setContenttoasted-nutbread2019-10-17
|
* Assign first popup on the search page as a depth of 1toasted-nutbread2019-10-15
|
* Add support for a popup previewtoasted-nutbread2019-10-12
|
* Don't pass options around for calls to termsShow, kanjiShow, etc.toasted-nutbread2019-10-12
|
* Make popups store optionstoasted-nutbread2019-10-12
|
* Frontend updatestoasted-nutbread2019-10-11
|
* Create utility function for logging errorstoasted-nutbread2019-10-08
|
* Merge pull request #234 from toasted-nutbread/remove-frontend-event-listenersAlex Yatskov2019-10-05
|\ | | | | Remove event listeners when scanning is disabled
| * Remove event listeners when scanning is disabledtoasted-nutbread2019-10-05
| |
* | Make the window.onresize handler not change focustoasted-nutbread2019-10-05
| |
* | Rename Popup.setVisible to setVisibleOverridetoasted-nutbread2019-10-05
|/
* Merge pull request #233 from toasted-nutbread/static-handlersAlex Yatskov2019-10-05
|\ | | | | Static handlers
| * Use static object for frontend message handlerstoasted-nutbread2019-10-02
| |
* | Fix inconsistent return typetoasted-nutbread2019-10-01
|/
* Fix tab focus being changed due to settings changestoasted-nutbread2019-09-29
|
* Merge pull request #218 from toasted-nutbread/settings-profile-conditionsAlex Yatskov2019-09-23
|\ | | | | Settings profile conditions
| * Add support for using optionsContext to select which profile to usetoasted-nutbread2019-09-18
| |
* | Use a Promise to trigger callback when delay is 0 or lesstoasted-nutbread2019-09-19
|/
* Remove redundant call of popupTimerCleartoasted-nutbread2019-09-14
| | | | Also use explicit null checks rather than truthy checks.
* Rename type to causetoasted-nutbread2019-09-14
|
* Remove destructuring from searchAt, containsPoint, docRangeFromPointtoasted-nutbread2019-09-14
|
* Remove unused variabletoasted-nutbread2019-09-14
|
* Remove mouseDownLeft and mouseDownMiddletoasted-nutbread2019-09-14
| | | | MouseEvent.buttons can be used instead.