From faa3b6ced3ad9a48d7f7c02bf9a630ab6d86c3b4 Mon Sep 17 00:00:00 2001 From: Nathaniel Sabanski Date: Fri, 1 Mar 2024 00:27:32 -0800 Subject: [PATCH] Simplified internal isSelector() function. Warning option fix. --- package.json | 2 +- surreal.js | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 25db443..0fe8b52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "surreal", - "version": "1.1.7", + "version": "1.1.8", "description": "Surreal", "repository": { "type": "git", diff --git a/surreal.js b/surreal.js index 2a082cb..e8ebca3 100644 --- a/surreal.js +++ b/surreal.js @@ -1,4 +1,4 @@ -// Welcome to Surreal 1.1.7 +// Welcome to Surreal 1.1.8 // Documentation: https://github.com/gnat/surreal // Locality of Behavior (LoB): https://htmx.org/essays/locality-of-behaviour/ let surreal = (function () { @@ -70,7 +70,7 @@ let $ = { // Convenience for internals. if (selector == null) return $.sugar([start.currentScript.parentElement]) // Just local me() in