Giter VIP home page Giter VIP logo

Comments (1)

tpiros avatar tpiros commented on June 23, 2024

Hi,

Thanks for your email. I believe I have corrected these in this code:
https://github.com/tamaspiros/AngularChat/blob/master/utils/purge.js

Please check.

Thanks,
-Tamas

On 2014-07-23 08:59, Wipying wrote:

From my experience on underscore.js, I don't really understand the
following codes.
Do you think that it's the right way on using the call of
contains(".contains") ?
For example, in the logic " if(.contains((room.people)), s.id) ",
(_.contains((room.people)), s.id) is always true, because s.id is
always greater than 0.

If so, kindly review the following codes, and let me know.

https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L80
[1]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L75
[2]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L100
[3]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L105
[4]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L121
[5]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L126
[6]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L141
[7]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L154
[8]

Reply to this email directly or view it on GitHub [9].

Links:

[1]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L80
[2]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L75
[3]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L100
[4]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L105
[5]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L121
[6]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L126
[7]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L141
[8]
https://github.com/tamaspiros/advanced-chat/blob/master/server.js#L154
[9] #6

from advanced-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.