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

Issue #2: wrong naming #5

Closed

Conversation

pbanaszkiewicz
Copy link

Major changes:

  • renamed admin.html to instructor.html
  • added some tweaks to instructor's UI (for example mode indicator)
  • fixed bug with admins removing other peers from a room when quitting

I'm still very unhappy with this events driven design (look for example at the code changing mode indicator), but I will rework it for v0.2.

Moved files from `./client` to `./peerinstruction/public`.

Reworked `server/load.js` and `server/logic.js` to work as application
starters.

Next to do: change views to use Jade engine.
I started preparing JS code for broadcasting
delete peers[socket.peer_id];
delete admins[socket.peer_id];
update_rooms(socket.peer_id);
if (!socket.is_admin) {
Copy link
Author

Choose a reason for hiding this comment

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

Hopefully introduction of a new attribute is an acceptable fix for the bug.

Copy link
Owner

Choose a reason for hiding this comment

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

Yeap, good catch!

@drio drio mentioned this pull request Jun 14, 2014
@pbanaszkiewicz
Copy link
Author

I'm closing this as PR #6 contains these changes and some more.

@pbanaszkiewicz pbanaszkiewicz deleted the issue/2_wrong_naming branch June 23, 2014 20:31
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