3.2.4 • Published 9 years ago
rightful-hot v3.2.4
App convention for RiotJS+ZappaJS
Starts riot with the conventions of ZappaJS-client, with the following mixins:
@wrapperto wrap riot events into a Promise@throttleto throttle calls to a function- and additional riot events for socket.io errors.
Also provides two Riot tags:
rightful-hot/i18nrightful-hot/language-selector
Typically started as
{main,Debug} = require 'rightful-hot'
config =
messages: 'en-US': {...}
socketio_module =
include: ->
# executed in a ZappaJS-client context
@on 'event-from-server', -> @ev.trigger 'event'
@ev.on 'event-from-client', => @emit 'event-to-server'
main config, seem ->
yield @include socketio_module
@riot.mount '*', client:true3.2.4
9 years ago
3.2.3
9 years ago
3.2.2
9 years ago
3.2.1
9 years ago
3.2.0
9 years ago
3.1.0
9 years ago
3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
2.3.4
9 years ago
2.3.3
9 years ago
2.3.2
9 years ago
2.3.1
9 years ago
2.3.0
9 years ago
2.2.0
9 years ago
2.1.4
9 years ago
2.1.3
9 years ago
2.1.2
9 years ago
2.1.1
10 years ago
2.1.0
10 years ago
2.0.3
10 years ago
2.0.2
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.2.0
10 years ago
1.1.4-0
10 years ago
1.1.3
10 years ago
1.1.2
10 years ago
1.1.1
10 years ago
1.1.0
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago