Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Revert "replace constructor.name with instanceof so uglify can mangle and compress" #59

Merged
merged 1 commit into from
Mar 8, 2018

Conversation

vmx
Copy link
Member

@vmx vmx commented Mar 8, 2018

Quoting @dignifiedquire: "there is a reason we don‘t use instanceof anywhere. It breaks for consumers using the library if they bundle a different set of code or the class."

Reverts #58.

@vmx vmx added the status/in-progress In progress label Mar 8, 2018
@vmx vmx merged commit 55a87a7 into master Mar 8, 2018
@vmx vmx removed the status/in-progress In progress label Mar 8, 2018
@vmx vmx deleted the revert-58-fix/duck-type branch March 8, 2018 22:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants