Skip to content

Use Object.create(null) instead of {} - #15

Open
schue wants to merge 1 commit into
ttezel:masterfrom
schue:object-token-fix
Open

Use Object.create(null) instead of {}#15
schue wants to merge 1 commit into
ttezel:masterfrom
schue:object-token-fix

Conversation

@schue

@schue schue commented May 23, 2017

Copy link
Copy Markdown

Otherwise you cannot index documents with the word "constructor" or create categories with that name. Fixes #14.

Otherwise you cannot index documents with the word "constructor"
@kellym

kellym commented Sep 1, 2021

Copy link
Copy Markdown

This is definitely a valid PR. +1 to merging.

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

Successfully merging this pull request may close these issues.

Use of plain objects prevents tokens or categories named "constructor"

2 participants