From 02ef635f55975afdbac3e79b32509f450a0b165f Mon Sep 17 00:00:00 2001 From: Erick Xavier Date: Fri, 17 Jul 2026 12:25:43 -0300 Subject: [PATCH] docs/NOJS-288: fix stale version references in SKILL.md and reference docs Replace hardcoded version strings (1.15.0, 1.14.1) with version-agnostic wording in code examples and update the metadata table to match the current frontmatter version (1.20.0). --- nojs/SKILL.md | 4 ++-- nojs/references/core/api.md | 2 +- nojs/references/devtools.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nojs/SKILL.md b/nojs/SKILL.md index a0fc824..6109095 100644 --- a/nojs/SKILL.md +++ b/nojs/SKILL.md @@ -573,7 +573,7 @@ NoJS.store // Access global stores NoJS.notify() // Flush UI updates after external mutation NoJS.router // push(), replace(), back(), forward() NoJS.locale // Get/set current locale -NoJS.version // "1.15.0" +NoJS.version // current framework version string NoJS.CANCEL // Interceptor sentinel: cancel request NoJS.RESPOND // Interceptor sentinel: short-circuit with response NoJS.REPLACE // Interceptor sentinel: replace response data @@ -701,7 +701,7 @@ All paths relative to `nojs/references/`: | Property | Value | |----------|-------| -| **Version** | 1.15.0 | +| **Version** | 1.20.0 | | **Website** | | | **CDN (core)** | `https://cdn.no-js.dev/` | | **CDN (elements)** | `https://cdn-elements.no-js.dev/` | diff --git a/nojs/references/core/api.md b/nojs/references/core/api.md index abc0f69..fbd5850 100644 --- a/nojs/references/core/api.md +++ b/nojs/references/core/api.md @@ -620,7 +620,7 @@ Setting the base URL after initialization triggers re-evaluation of any active f Read-only string with the current framework version. ```javascript -console.log(NoJS.version); // "1.14.1" +console.log(NoJS.version); // current framework version string ``` --- diff --git a/nojs/references/devtools.md b/nojs/references/devtools.md index b72d099..c6b29ab 100644 --- a/nojs/references/devtools.md +++ b/nojs/references/devtools.md @@ -90,7 +90,7 @@ dt.stores // Object — snapshot of all stores { name: { ...data } } dt.config // Object — shallow copy of current framework config dt.refs // Object — copy of all ref-registered elements dt.router // Object — live router instance (or null) -dt.version // String — framework version (e.g., "1.14.1") +dt.version // String — current framework version dt.plugins // Map — copy of installed plugins (name -> { plugin, options }) dt.globals // Object — copy of plugin globals ```