Fix regression bug in sandbox

This commit is contained in:
Zaid Abdulla committed 2017-03-02 12:56:25 -08:00
1 parent a9c8bbe21b
commit d06d59e342
1 file changed
+1 -1
+1 -1
View File
@@ -176,7 +176,7 @@ function declare(path, timestamps, values) {
function clear(path, timestamp, attributes) { function clear(path, timestamp, attributes) {
state.uncommitted = true; state.uncommitted = true;
if (state.revision === maxRevision) if (state.revision === state.maxRevision)
state.clear.push([common.parsePath(path), timestamp, attributes]); state.clear.push([common.parsePath(path), timestamp, attributes]);
} }