Skip to content

Leaking global variables #8

Description

@dankirkpatrick

You're leaking global variables. You need to declare them as "var" so they don't get declared with global scope. The following variables are leaking (for the functions, you are exporting them then declaring them as global variables):

applicationPrefix
addCompletions
addFromFile
getWordCompletions
getPhraseCompletions
search
phraseToStore
rangelen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions