drop any notion of crypto from sframe-listmap
This commit is contained in:
parent
a1c124f1be
commit
f990200996
@ -623,19 +623,6 @@ define([
|
|||||||
throw new Error('unsupported datatype: '+ DeepProxy.type(cfg.data));
|
throw new Error('unsupported datatype: '+ DeepProxy.type(cfg.data));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cfg.crypto) {
|
|
||||||
// complain and stub
|
|
||||||
console.log("[chainpad-listmap] no crypto module provided. messages will not be encrypted");
|
|
||||||
cfg.crypto = {
|
|
||||||
encrypt: function (msg) {
|
|
||||||
return msg;
|
|
||||||
},
|
|
||||||
decrypt: function (msg) {
|
|
||||||
return msg;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
var realtimeOptions = {
|
var realtimeOptions = {
|
||||||
userName: cfg.userName,
|
userName: cfg.userName,
|
||||||
initialState: Sortify(cfg.data),
|
initialState: Sortify(cfg.data),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user