I have object-model as:
var wo = new WordModel({
"url": window.location.href,
"time": toDay(),
"w": w.trim()
});
timelineCollection.add(wo);
I try to get all element in timelineCollection
where time
is 04/02/2017
. I tried this:
var o = {
time: "04/02/2017"
};
var filtered = timelineCollection.where(o);
console.log(filtered);
But it does not work for me