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

@@ -194,9 +194,6 @@ define([
var now = function () { return new Date().getTime(); };
var realtimeOptions = {
// configuration :D
doc: inner,
// provide initialstate...
initialState: stringifyDOM(inner) || '{}',
@@ -213,7 +210,9 @@ define([
channel: key.channel,
// encryption key
cryptKey: key.cryptKey
cryptKey: key.cryptKey,
crypto: Crypto,
};
var DD = new DiffDom(diffOptions);