Skip to content

Commit

Permalink
remove time check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim de Beer committed Sep 26, 2016
1 parent c34b95f commit ba4a4b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/serialize/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = function serialize (data, state, type, stamp, subs) {
const len = path.length
var select = obj
for (let i = 0; i < len; i++) {
// can alrdy start merging
select = select[path[i]] = {}
}
if (state.val === null) {
Expand Down
6 changes: 3 additions & 3 deletions lib/sync/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ module.exports = new State({
function lstampInner (parent, val, stamp, originalStamp) {
// clean this shit up
// dont allways do this... only when its an originator and a NEWER stamp
if (!parent.stamp || Number(vstamp.val(stamp)) > Number(vstamp.val(parent.stamp))) {
parent.stamp = stamp
}
// if (!parent.stamp || Number(vstamp.val(stamp)) > Number(vstamp.val(parent.stamp))) {
parent.stamp = stamp
// }
if (parent._subscriptions) {
let l = parent
if (!l.incomingStamps) {
Expand Down

0 comments on commit ba4a4b1

Please sign in to comment.