3.2.4 • Published 7 years ago
rightful-hot v3.2.4
App convention for RiotJS+ZappaJS
Starts riot with the conventions of ZappaJS-client, with the following mixins:
@wrapper
to wrap riot events into a Promise@throttle
to throttle calls to a function- and additional riot events for socket.io errors.
Also provides two Riot tags:
rightful-hot/i18n
rightful-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:true
3.2.4
7 years ago
3.2.3
7 years ago
3.2.2
7 years ago
3.2.1
7 years ago
3.2.0
7 years ago
3.1.0
7 years ago
3.0.2
7 years ago
3.0.1
7 years ago
3.0.0
7 years ago
2.3.4
7 years ago
2.3.3
7 years ago
2.3.2
7 years ago
2.3.1
7 years ago
2.3.0
7 years ago
2.2.0
7 years ago
2.1.4
7 years ago
2.1.3
7 years ago
2.1.2
7 years ago
2.1.1
8 years ago
2.1.0
8 years ago
2.0.3
8 years ago
2.0.2
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.2.0
8 years ago
1.1.4-0
8 years ago
1.1.3
8 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago