mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-08 08:53:02 -04:00
oops
This commit is contained in:
parent
64433797f3
commit
e755ef3f4c
1 changed files with 4 additions and 3 deletions
|
@ -512,6 +512,9 @@ Web </a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%
|
<%
|
||||||
|
|
||||||
|
const query = q.toLowerCase().trim();
|
||||||
|
|
||||||
function isMathExpression(query) {
|
function isMathExpression(query) {
|
||||||
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
||||||
}
|
}
|
||||||
|
@ -675,9 +678,7 @@ const tzMap = {
|
||||||
return now.toLocaleTimeString('en-US', options);
|
return now.toLocaleTimeString('en-US', options);
|
||||||
}
|
}
|
||||||
|
|
||||||
const query = q.toLowerCase().trim();
|
|
||||||
let answer = '';
|
let answer = '';
|
||||||
// 19 utility functions
|
|
||||||
|
|
||||||
function randomCompliment() {
|
function randomCompliment() {
|
||||||
const compliments = [
|
const compliments = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue