Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async suggest #45

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Async suggest #45

wants to merge 21 commits into from

Commits on Aug 23, 2016

  1. Async suggest

    This PR makes suggest operating asynchroniously, providing _much_ faster performance, much smaller memory use,  and allowing to stop a suggestion search midway.
    
    suggest : function (word, limit, doneFunc, progressFunc)
      - returns undefined
    
     - doneFunc (if given) will be called (with the results array) once the search is done
     - progressFunc (if given) will be called (with the new match and the array of all matches so far) whenever a new match is found in the search
     - if progressFunc returns===false the current search will be aborted
     - calling suggest without parameters will abort a current search if running
    
    See a working sample in https://plnkr.co/edit/0y1wCHXx3k3mZaHFOpHT
    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    ede3270 View commit details
    Browse the repository at this point in the history
  2. Update typo.js

    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    4c7d4c0 View commit details
    Browse the repository at this point in the history
  3. Update typo.js

    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    8704d75 View commit details
    Browse the repository at this point in the history
  4. Update typo.js

    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    9636b40 View commit details
    Browse the repository at this point in the history
  5. Update typo.js

    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    67e89a9 View commit details
    Browse the repository at this point in the history
  6. Update typo.js

    kofifus committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    afc51f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. Update typo.js

    kofifus committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    0829f26 View commit details
    Browse the repository at this point in the history
  2. Update typo.js

    kofifus committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    6b37bf0 View commit details
    Browse the repository at this point in the history
  3. Update typo.js

    kofifus committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    5239f23 View commit details
    Browse the repository at this point in the history
  4. Update typo.js

    kofifus committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    5f249c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. Update typo.js

    kofifus committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    d7fbe79 View commit details
    Browse the repository at this point in the history
  2. Update typo.js

    kofifus committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    a558e67 View commit details
    Browse the repository at this point in the history
  3. Update typo.js

    kofifus committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    eba900f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2016

  1. Update typo.js

    kofifus committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    df20791 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2016

  1. Update typo.js

    kofifus committed Aug 27, 2016
    Configuration menu
    Copy the full SHA
    9ab565a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2016

  1. Update typo.js

    kofifus committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    c2a387b View commit details
    Browse the repository at this point in the history
  2. Update typo.js

    kofifus committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    c3a4697 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2016

  1. Update typo.js

    kofifus committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    0f17d9e View commit details
    Browse the repository at this point in the history
  2. Update typo.js

    kofifus committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    bd35c2e View commit details
    Browse the repository at this point in the history
  3. Update typo.js

    kofifus committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    c2b79cb View commit details
    Browse the repository at this point in the history
  4. Update typo.js

    kofifus committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    868c61b View commit details
    Browse the repository at this point in the history