Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Object.seal sometime gets undefined value #130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Perlover
Copy link

@Perlover Perlover commented Nov 13, 2020

Hi,

I see strange the sockets option using which can be undefined if user didn't define it in Vue options. If I understand as right it may be a bug.

It can be related with this opened issue: #75

And the Object.seal should get the object type. If it will be not object the ES5 code will throw TypeError. I didn't test it but i saw code and think that's should be patched.

Hi,

I see strange option `sockets` parameter which can be undefined if user didn't define it in `Vue` options. If I understand as right it may be bug.

It can be related with this opened issue: nathantsoi#75

And the [Object.seal should get the object type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal#Non-object_coercion). If it will be not object ES5 code will throw error. I didn't test it but i saw code and think that's should be patched.
Copy link
Author

@Perlover Perlover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used else if construction now

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.

2 participants