Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
regex:function(query){
if(query.trim() == "")
return false;
return fuzzy.test(query, 'switch to last active tab');
},
answerRegex:/stla/,
regex:function(query){
if(query.trim() == "")
return false;
return fuzzy.test(query, 'help');
},
answerRegex:/help/,
regex:function(query){
if(query.trim() == "")
return false;
return fuzzy.test(query, 'facebook share');
},
answerRegex:/^share:(.+)/,
regex:function(query){
if(query.trim() == "")
return false;
return fuzzy.test(query, 'refresh all');
},
answerRegex:/refresh-all/,
regex:function(query){
if(query.trim() == "" && query.trim().length < 2)
return false;
return fuzzy.test(query, 'sort tabs');
},
answerRegex:/sort-tabs/,
regex:function(query){
if(query.trim() == "" && query.trim().length < 2)
return false;
return fuzzy.test(query, 'screenshot');
},
browsers:["chrome"],