initial state should be valid JSON so JSON parse doesn't fail
This commit is contained in:
parent
96e03fcfa4
commit
df78d284c4
@ -148,7 +148,7 @@ define([
|
||||
channel, // the channel we're to connect to
|
||||
|
||||
// initialState argument. (optional)
|
||||
config.initialState || '',
|
||||
config.initialState || '{}',
|
||||
|
||||
// transform function (optional), which handles conflicts
|
||||
{ transformFunction: config.transformFunction });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user