~> inital_state: {state: PresentationState, poll: Poll?, pollVote: int? }
~> presentation_state: PresentationState
~> poll: Poll | false
<~ init: {clientId: String, presentationId: String}
<~ vote_up
<~ vote_down
<~ question: String
<~ poll_vote: int
PresentationState: 'not_started' | 'active' | 'ended'
Poll: {
id: String,
title: String,
options: [
{
label: String,
color: '#rrggbb'
}
]
}
$ npm install
$ bower install
$ node server.js
$ brunch w -s