@k37z3r/jbase 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @k37z3r/jbase - A modern micro-framework for the web: jBase offers the familiar syntax of classic DOM libraries, but without their baggage. Fully typed, modular, and optimized for modern browser engines.
3
- * @version 2.1.1
3
+ * @version 2.1.2
4
4
  * @homepage https://github.com/k37z3r/jBase-2
5
5
  * @author Sven Minio (https://github.com/k37z3r/jBase-2)
6
6
  * @license GPL-3.0-or-later
@@ -1829,6 +1829,14 @@ Object.assign(jBase.prototype, cssMethods);
1829
1829
  Object.assign(jBase.prototype, eventMethods);
1830
1830
  Object.assign(jBase.prototype, domMethods);
1831
1831
  Object.assign(jBase.prototype, effectMethods);
1832
+ var initFn = (selector) => {
1833
+ return new jBase(selector);
1834
+ };
1835
+ var init = Object.assign(initFn, {
1836
+ http,
1837
+ data,
1838
+ fn: jBase.prototype
1839
+ });
1832
1840
  var bind = (window2) => {
1833
1841
  const doc = window2.document;
1834
1842
  const boundInit = (selector) => new jBase(selector, doc);
@@ -2247,7 +2255,7 @@ function parseHTML2(html2) {
2247
2255
  */
2248
2256
  /**
2249
2257
  * @file src/index.ts
2250
- * @version 2.1.1
2258
+ * @version 2.1.2
2251
2259
  * @since 2.0.0
2252
2260
  * @license GPL-3.0-or-later
2253
2261
  * @copyright Sven Minio 2026