pass in Crypto to realtime-input

This commit is contained in:
ansuz
2016-04-22 18:54:24 +02:00
parent aa07dd31ee
commit 69e8f54e8f
7 changed files with 69 additions and 59 deletions

View File

@@ -206,14 +206,12 @@ define([
// our encryption key
cryptKey: key,
// configuration :D
doc: inner,
setMyID: setMyID,
// really basic operational transform
transformFunction : JsonOT.validate
// pass in websocket/netflux object TODO
transformFunction : JsonOT.validate,
crypto: Crypto,
};
var onRemote = realtimeOptions.onRemote = function (info) {