mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-21 03:51:11 -08:00
Kill linter error
This commit is contained in:
parent
8276f66edf
commit
f2fbcf60a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue