all repos — h3 @ bf1064da2aee3eda9c6f607f18f085bce1d47d48

A tiny, extremely minimalist JavaScript microframework.

Minor updates.
h3rald h3rald@h3rald.com
Sun, 05 Jul 2020 11:52:21 +0200
commit

bf1064da2aee3eda9c6f607f18f085bce1d47d48

parent

5e7a1b0a8a5f3cb7532a22707c5d170e5dc3f457

M README.mdREADME.md

@@ -11,7 +11,7 @@ **H3** is a microframework to build client-side single-page applications (SPAs) in modern JavaScript.

H3 is also: -- **tiny**, under [800 sloc](https://github.com/h3rald/h3/blob/master/h3.js). +- **tiny**, less than 4KB minified gzipped. - **modern**, in the sense that it runs only in modern browsers (latest versions of Chrome, Firefox, Edge & similar). - **easy** to learn, its API is comprised of only six methods and two properties.

@@ -20,6 +20,8 @@

Here, look, it's just one file: <a href="https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.js" target="_blank" class="button primary">Download v0.9.0 (Impeccable Iconian)</a> + +<small>Or get the minified version [here](https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.min.js).</small> Yes there is also a [NPM package](https://www.npmjs.com/package/@h3rald/h3) if you want to use it with WebPack and similar, but let me repeat: _it's just one file_.
M docs/H3_DeveloperGuide.htmdocs/H3_DeveloperGuide.htm

@@ -7326,7 +7326,7 @@

<p>H3 is also:</p> <ul> -<li><strong>tiny</strong>, under <a href="https://github.com/h3rald/h3/blob/master/h3.js">800 sloc</a>.</li> +<li><strong>tiny</strong>, less than 4KB minified gzipped.</li> <li><strong>modern</strong>, in the sense that it runs only in modern browsers (latest versions of Chrome, Firefox, Edge &amp; similar).</li> <li><strong>easy</strong> to learn, its API is comprised of only six methods and two properties.</li> </ul>

@@ -7338,6 +7338,8 @@

<p>Here, look, it&rsquo;s just one file:</p> <p><a href="https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.js" target="_blank" class="button primary">Download v0.9.0 (Impeccable Iconian)</a></p> + +<p><small>Or get the minified version <a href="https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.min.js">here</a>.</small></p> <p>Yes there is also a <a href="https://www.npmjs.com/package/@h3rald/h3">NPM package</a> if you want to use it with WebPack and similar, but let me repeat: <em>it&rsquo;s just one file</em>.</p>

@@ -8056,7 +8058,7 @@ </ul>

</div> <div id="footer"> - <p><span class="copy"></span> Fabio Cevasco &ndash; June 10, 2020</p> + <p><span class="copy"></span> Fabio Cevasco &ndash; July 5, 2020</p> <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p> </div> </div>
M docs/css/style.cssdocs/css/style.css

@@ -95,3 +95,7 @@

h4 { font-size: 16px; } + +a.button { + margin: 0; +}
M docs/example/assets/js/h3.jsdocs/example/assets/js/h3.js

@@ -1,9 +1,9 @@

/** * H3 v0.9.0 "Impeccable Iconian" * Copyright 2020 Fabio Cevasco <h3rald@h3rald.com> - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * + * @license MIT + * For the full license, see: https://github.com/h3rald/h3/blob/master/LICENSE */ const checkProperties = (obj1, obj2) => { for (const key in obj1) {
M docs/js/h3.jsdocs/js/h3.js

@@ -1,9 +1,9 @@

/** * H3 v0.9.0 "Impeccable Iconian" * Copyright 2020 Fabio Cevasco <h3rald@h3rald.com> - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * + * @license MIT + * For the full license, see: https://github.com/h3rald/h3/blob/master/LICENSE */ const checkProperties = (obj1, obj2) => { for (const key in obj1) {
M docs/md/overview.mddocs/md/overview.md

@@ -4,7 +4,7 @@ **H3** is a microframework to build client-side single-page applications (SPAs) in modern JavaScript.

H3 is also: -- **tiny**, under [800 sloc](https://github.com/h3rald/h3/blob/master/h3.js). +- **tiny**, less than 4KB minified gzipped. - **modern**, in the sense that it runs only in modern browsers (latest versions of Chrome, Firefox, Edge & similar). - **easy** to learn, its API is comprised of only six methods and two properties.

@@ -13,6 +13,8 @@

Here, look, it's just one file: <a href="https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.js" target="_blank" class="button primary">Download v0.9.0 (Impeccable Iconian)</a> + +<small>Or get the minified version [here](https://raw.githubusercontent.com/h3rald/h3/v0.9.0/h3.min.js).</small> Yes there is also a [NPM package](https://www.npmjs.com/package/@h3rald/h3) if you want to use it with WebPack and similar, but let me repeat: _it's just one file_.
M scripts/release.jsscripts/release.js

@@ -28,6 +28,7 @@

// Update README.md let readmeData = fs.readFileSync(readme, "utf8"); readmeData = readmeData.replace(/v\d+\.\d+\.\d+/, `v${pkg.version}`); +readmeData = readmeData.replace(/v\d+\.\d+\.\d+/, `v${pkg.version}`); readmeData = readmeData.replace( /Download v\d+\.\d+\.\d+ \([^)]+\)/, `Download v${pkg.version} (${pkg.versionName})`