canjs / can-query-logic

Perform data queries and compare queries against each other. Provides logic useful for data caching and real-time behavior.

Home Page:https://canjs.com/doc/can-query-logic.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make-maybe-test file breaks IE11

phillipskevin opened this issue · comments

This should use a normal function instead of a class:

class DateStringSet {
constructor(value) {
this.value = value;
}
// used to convert to a number
valueOf() {
return this.value == null ? this.value : new Date(this.value).getTime();
}
}