mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 01:34:37 +00:00
Kill linter error
This commit is contained in:
@@ -255,7 +255,7 @@ options: optional hashmap of options
|
||||
options.defaultFilterRunPrefix: the default filter run prefix to use when none is specified
|
||||
*/
|
||||
exports.compileFilter = function(filterString,options) {
|
||||
var defaultFilterRunPrefix = options?.defaultFilterRunPrefix || "or";
|
||||
var defaultFilterRunPrefix = (options || {}).defaultFilterRunPrefix || "or";
|
||||
var cacheKey = filterString + '|' + defaultFilterRunPrefix;
|
||||
if(!this.filterCache) {
|
||||
this.filterCache = Object.create(null);
|
||||
|
||||
Reference in New Issue
Block a user