Coder Social home page Coder Social logo

Comments (14)

Prior99 avatar Prior99 commented on July 17, 2024

Yes it is not up-to-date.

from node-mumble.

Rantanen avatar Rantanen commented on July 17, 2024

@Prior99, when you did the documentation, did you have a look at JSDoc or anything similar? Think it might be better to have the documentation derived from the code in the long run. Of course for stuff like events we'd then need to add more syntax in the code..

from node-mumble.

Rantanen avatar Rantanen commented on July 17, 2024

How would https://github.com/Rantanen/node-mumble/wiki/APIv2 look?

That's done using the jsdoc comments in the cec9e2d commit and jsdoc2md.

Didn't try documenting the events yet though so those are missing - and only tested on that one class.

from node-mumble.

Prior99 avatar Prior99 commented on July 17, 2024

I like it. No I didn't have a look at it, I wantes to have it done fast ;-) who likes to write documentation?

from node-mumble.

Rantanen avatar Rantanen commented on July 17, 2024

Working on this (because it's easier than the input streams which are a lot of work :p): e0d7d49

Travis is under maintenance so wasn't able to push this there. Ideally in future it would be enough to land the documentation as JSDoc among the code and Travis build would push the documentation online to the wiki. Would let us document the functionality as we implement it instead of having to go to the wiki later to update it.

from node-mumble.

Prior99 avatar Prior99 commented on July 17, 2024

I like it.

from node-mumble.

johnrnelson avatar johnrnelson commented on July 17, 2024

Allow me to say the documentation is not as good as the code. However, I'm loving that code so where does that leave us? :-)

from node-mumble.

Rantanen avatar Rantanen commented on July 17, 2024

The documentation is now generated from the JSDoc comments so it should be less outdated.

https://github.com/Rantanen/node-mumble/wiki/MumbleWrapper
https://github.com/Rantanen/node-mumble/wiki/User
https://github.com/Rantanen/node-mumble/wiki/Channel

Can't say whether the actual quality went up or down, but it should at least be easier to maintain while implementing new features now.

from node-mumble.

Prior99 avatar Prior99 commented on July 17, 2024

Wow. I love it. Thank you so much, writing doc is pain in the ass.

from node-mumble.

timeDev avatar timeDev commented on July 17, 2024

Well then. Even though the new documentation is awesome, I still can't track users moving :(
Closed.

from node-mumble.

bendem avatar bendem commented on July 17, 2024

Maybe the example here can help you? Though I agree it's not documented in User

from node-mumble.

timeDev avatar timeDev commented on July 17, 2024

I already tried that, the event didn't seem to get fired...

2015-05-14 12:41 GMT+02:00 bendem [email protected]:

Maybe the example here
https://github.com/Rantanen/node-mumble/wiki/MumbleWrapper#event-user-
can help you? Though I agree it's not documented in User
https://github.com/Rantanen/node-mumble/wiki/User


Reply to this email directly or view it on GitHub
#29 (comment)
.

from node-mumble.

bendem avatar bendem commented on July 17, 2024

Just tried

connection.on('user-move', function(user, fromChannel, toChannel) {
    console.log('User ' + user.name + ' moved from channel ' + fromChannel.name + ' to ' + toChannel.name);
});

and it displayed User bendem moved from channel A to B as expected.

from node-mumble.

timeDev avatar timeDev commented on July 17, 2024

Ok then maybe I had a typo or something...
I will definately try this!

2015-05-14 12:50 GMT+02:00 bendem [email protected]:

Just tried

connection.on('user-move', function(user, fromChannel, toChannel) {
console.log('User ' + user.name + ' moved from channel ' + fromChannel.name + ' to ' + toChannel.name);
});

and it displayed User bendem moved from channel A to B as expected.


Reply to this email directly or view it on GitHub
#29 (comment)
.

from node-mumble.

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.