         items: 10
     ).focus()
 
-    # Do not `submit` form,
+    # Do not submit form,
     # but reset input to empty string.
     ($ 'form').on 'submit', (event) ->
         ($ '#typeahead').val ''

window.tabahead = ($, Fuse, chrome, setTimeout, storage) ->
    # --> Constants shared with `options.coffee`
    QUERY =
        ALL: 'all'
        CURRENT: 'current'

    PREF_QUERY = 'pref/query'
    # Constants shared with `options.coffee` <--

    string_separator = ':::::'


                window.close()
        ), 1

        # @hide() suddenly caused the popup to stay open.
        return

    # Init typeahead.
    ($ '#typeahead').typeahead(
        source: source
        matcher: matcher
