Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(key, options){
super(key, options.id)
this.options = options
this.state = new ObjectState({})
}
constructor(key, options){
super(key, options.id);
this.options = options;
this.state = new ObjectState({});
}
function CRUKSearchkitLocationAccessor(key, options) {
_classCallCheck(this, CRUKSearchkitLocationAccessor);
var _this = _possibleConstructorReturn(this, (CRUKSearchkitLocationAccessor.__proto__ || Object.getPrototypeOf(CRUKSearchkitLocationAccessor)).call(this, key, options.id));
_this.options = options;
_this.state = new _searchkit.ObjectState({});
return _this;
}
function CRUKSearchkitDateRangeAccessor(key, options) {
_classCallCheck(this, CRUKSearchkitDateRangeAccessor);
var _this = _possibleConstructorReturn(this, (CRUKSearchkitDateRangeAccessor.__proto__ || Object.getPrototypeOf(CRUKSearchkitDateRangeAccessor)).call(this, key, options.id));
_this.options = options;
_this.state = new _searchkit.ObjectState({});
return _this;
}