mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fa7befd9ed
commit
80e25fe45c
@ -61,12 +61,14 @@ var PeerActions = actions.Actions({
|
|||||||
function(name){
|
function(name){
|
||||||
return !!this.getActionAttr(name, '__peer__') }],
|
return !!this.getActionAttr(name, '__peer__') }],
|
||||||
|
|
||||||
peerCreate: ['- Peer/',
|
// XXX this should create or connect to a peer depending on protocol...
|
||||||
function(){
|
|
||||||
// XXX
|
|
||||||
}],
|
|
||||||
peerConnect: ['- Peer/',
|
peerConnect: ['- Peer/',
|
||||||
function(){
|
function(id, options){
|
||||||
|
// XXX
|
||||||
|
return id
|
||||||
|
}],
|
||||||
|
peerDisconnect: ['- Peer/',
|
||||||
|
function(id){
|
||||||
// XXX
|
// XXX
|
||||||
}],
|
}],
|
||||||
|
|
||||||
@ -83,6 +85,7 @@ var PeerActions = actions.Actions({
|
|||||||
|
|
||||||
peerList: ['- Peer/',
|
peerList: ['- Peer/',
|
||||||
function(){ return Object.keys(this.__peers || {}) }],
|
function(){ return Object.keys(this.__peers || {}) }],
|
||||||
|
// XXX format spec!!!
|
||||||
peerSpec: ['- Peer/',
|
peerSpec: ['- Peer/',
|
||||||
function(id){
|
function(id){
|
||||||
// XXX
|
// XXX
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user