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