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

Mini bug on line 70 Full Text Search 2 Sample #123

Closed
calebeaires opened this issue Aug 19, 2015 · 2 comments
Closed

Mini bug on line 70 Full Text Search 2 Sample #123

calebeaires opened this issue Aug 19, 2015 · 2 comments

Comments

@calebeaires
Copy link


function getAllWords(text) {
    /// <param name="text" type="String"></param>
    if (text) {
        var allWordsIncludingDups = text.toLowerCase().split(' ');
        var wordSet = allWordsIncludingDups.reduce(function(prev, current) {
            prev[current] = true;
            return prev;
        }, {});
        return Object.keys(set);
    }
}

Change Object.keys(set); to Object.keys(wordSet);

@calebeaires calebeaires changed the title Mini bug on line 70 Mini bug on line 70 Full Text Search 2 Sample Aug 19, 2015
@dfahlander
Copy link
Collaborator

Ok Thanks! :-)

@dfahlander
Copy link
Collaborator

ee73e9f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants