FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix for 'not yet supported' error when packing classes by RealHandy · Pull Request #13 · binaryjs/js-binarypack · GitHub

Repository navigation

Fix for 'not yet supported' error when packing classes - #13

Closed
RealHandy wants to merge 1 commit into
binaryjs:masterfrom
RealHandy:master
Closed

RealHandy wants to merge 1 commit into
binaryjs:masterfrom
RealHandy:master

Conversation

RealHandy commented May 28, 2019 •
edited
Loading

Copy link
Copy Markdown

New class behaviors in recent javascript cause a 'type is not yet supported' error when packing instances of class objects that have a constructor that returns class ClassName instead of Object.

This fixes (or works around) it by getting a toString() of what the constructor is and seeing if it starts with 'class'.

afrokick added a commit to peers/js-binarypack that referenced this pull request Jul 9, 2019
afrokick added a commit to peers/js-binarypack that referenced this pull request Aug 11, 2019
RealHandy closed this May 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL