Note: Floorquery is technically deprecated but will remain partially active. Use the modern remake on this account which should work with more setups and be more organized.
jQuery isn’t good. At all. It focused too much on issues that were immediately fixed by major browsers. But what if there was a library just in it for the short syntax?
All queries are made with 2 arguments: operator and params. Params are always controlled by the operator itself. Like the following:
$("example", "EXAMPLE!!!")
Notes:
Floorquery fixes whatever needs fixing. As new features are rolled out in major browsers, it jams shorthand syntax everywhere possible!
Examples:
// Logs first div with the .stupid class
console.log($("el", "div.stupid"))
// Logs all divs with the .stupid class
console.log($("EL", "div.stupid"))
Optional types: ./floorquery.d.ts
(next to this file)