allow for timeslider custom messages
This commit is contained in:
parent
197a41627d
commit
a2dbf8761f
|
@ -27,6 +27,7 @@ var Changeset = require('./Changeset');
|
||||||
var linestylefilter = require('./linestylefilter').linestylefilter;
|
var linestylefilter = require('./linestylefilter').linestylefilter;
|
||||||
var colorutils = require('./colorutils').colorutils;
|
var colorutils = require('./colorutils').colorutils;
|
||||||
var _ = require('./underscore');
|
var _ = require('./underscore');
|
||||||
|
var hooks = require('./pluginfw/hooks');
|
||||||
|
|
||||||
// These parameters were global, now they are injected. A reference to the
|
// These parameters were global, now they are injected. A reference to the
|
||||||
// Timeslider controller would probably be more appropriate.
|
// Timeslider controller would probably be more appropriate.
|
||||||
|
@ -534,6 +535,7 @@ function loadBroadcastJS(socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro
|
||||||
var savedRev = obj.savedRev;
|
var savedRev = obj.savedRev;
|
||||||
BroadcastSlider.addSavedRevision(savedRev.revNum, savedRev);
|
BroadcastSlider.addSavedRevision(savedRev.revNum, savedRev);
|
||||||
}
|
}
|
||||||
|
hooks.callAll('handleClientTimesliderMessage_' + obj.type, {payload: obj});
|
||||||
}
|
}
|
||||||
else if(obj.type == "CHANGESET_REQ")
|
else if(obj.type == "CHANGESET_REQ")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue