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

Setting an object doesn't work #2

Closed
catgirlinspace opened this issue Jan 19, 2020 · 1 comment
Closed

Setting an object doesn't work #2

catgirlinspace opened this issue Jan 19, 2020 · 1 comment

Comments

@catgirlinspace
Copy link

catgirlinspace commented Jan 19, 2020

so sear is like broken. it gives this error.

sear.0.4.3.js:204 Uncaught TypeError: Cannot read property 'isEqual' of undefined
    at compare (sear.0.4.3.js:204)
    at Sear.isEqual (sear.0.4.3.js:219)
    at Object.set (sear.0.4.3.js:353)
    at r.<anonymous> ((index):101)
    at r.emit (index.js:83)
    at r.onevent (index.js:83)
    at r.onpacket (index.js:83)
    at r.<anonymous> (index.js:83)
    at r.emit (index.js:83)
    at r.ondecoded (index.js:83)

seems to be caused by

socket.on('room update', function (room) {
        console.log(room)
        console.log(app)
        app.room = room
      })

the app.room = room thing makes it break.

(yes i just copy and pasted from discord)

@dragonwocky
Copy link
Owner

dragonwocky commented Jan 26, 2020

fixed by c9dc400

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

No branches or pull requests

2 participants