Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix the library for Webpack. #3

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

asivery
Copy link
Contributor

@asivery asivery commented Sep 18, 2022

Hello
It seems that this library uses the class.name property for block cipher modes.
This breaks once the library gets processed by Webpack.
This pull request aims to fix that by instead defining a static _name = '<class name>' property, and using that instead of class.name.

@PeterAlfredLee
Copy link
Member

LGTM

@PeterAlfredLee PeterAlfredLee merged commit 4a32042 into originjs:main Sep 19, 2022
@asivery asivery deleted the fix_class_name branch September 20, 2022 14:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants