updated by GasGit automation

This commit is contained in:
Bruce McPherson 2016-06-21 15:27:49 +01:00
parent 147a479657
commit 08ff7d99cf

View file

@ -107,7 +107,8 @@ var ClientWatcher = (function (ns) {
var self = this; var self = this;
var current_ = { var current_ = {
active:null, active:null,
data:null data:null,
dataSource:null
} ; } ;
var watch_ = watch, stopped_ = false; var watch_ = watch, stopped_ = false;
@ -257,7 +258,8 @@ var ClientWatcher = (function (ns) {
// save this for interest // save this for interest
pack_ = pack; pack_ = pack;
current_.dataSource = pack_.dataSource;
// if there's been some changes to data then store it // if there's been some changes to data then store it
if (pack.data) { if (pack.data) {
@ -274,9 +276,11 @@ var ClientWatcher = (function (ns) {
return rejectActions(reject,err); return rejectActions(reject,err);
} }
} }
watch_.checksum.data = pack.checksum.data;
current_.data = pack.data;
} }
watch_.checksum.data = pack.checksum.data;
current_.data = pack.data;
// if there's been some changes to active positions // if there's been some changes to active positions
if(pack.active) { if(pack.active) {