Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Support instanceof for different versions of @bem/entity-name packages #106

Open
blond opened this issue Apr 15, 2017 · 0 comments
Open

Comments

@blond
Copy link
Member

blond commented Apr 15, 2017

Need use Symbol.hasInstance to support native obj instanceof BemEntityName.

Symbol.hasInstance supported since node v6.

For node v4 need use BemEntityName.isBemEntityName.

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

No branches or pull requests

1 participant