all repos — h3 @ a8f5b97212c140f64dbae263b0deeb48c4c7c302

A tiny, extremely minimalist JavaScript microframework.

Fixed README.
h3rald h3rald@h3rald.com
Sun, 02 Aug 2020 14:38:34 +0200
commit

a8f5b97212c140f64dbae263b0deeb48c4c7c302

parent

a10856afd1e8a04af2a7f9914b657984a56787a5

5 files changed, 10 insertions(+), 10 deletions(-)

jump to
M README.mdREADME.md

@@ -30,7 +30,7 @@

Here's an example of an extremely minimal SPA created with H3: ```js -import h3 from "./h3.js"; +import { h3, h } from "./h3.js"; h3.init(() => h("h1", "Hello, World!")); ```

@@ -54,4 +54,4 @@ Go fix it! Or at least open an issue on the [Github repo](https://github.com/h3rald/h3), pleasy.

### Can I download a copy of all the documentation as a standalone HTML file? -What a weird thing to ask... sure you can: [here](https://h3.js.org/H3_DeveloperGuide.htm)!+What a weird thing to ask... sure you can: [here](https://h3.js.org/H3_DeveloperGuide.htm)!
M docs/H3_DeveloperGuide.htmdocs/H3_DeveloperGuide.htm

@@ -7346,7 +7346,7 @@ <h3>Hello, World?<a href="#document-top" title="Go to top"></a></h3>

<p>Here&rsquo;s an example of an extremely minimal SPA created with H3:</p> -<pre><code class="js">import h3 from "./h3.js"; +<pre><code class="js">import { h3, h } from "./h3.js"; h3.init(() =&gt; h("h1", "Hello, World!")); </code></pre>

@@ -8125,7 +8125,7 @@ </ul>

</div> <div id="footer"> - <p><span class="copy"></span> Fabio Cevasco &ndash; August 1, 2020</p> + <p><span class="copy"></span> Fabio Cevasco &ndash; August 2, 2020</p> <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p> </div> </div>
M docs/example/assets/js/h3.jsdocs/example/assets/js/h3.js

@@ -54,14 +54,14 @@ }

} return true; } - return checkProperties(obj1, obj2); // && checkProperties(obj2, obj1); + return checkProperties(obj1, obj2); }; const selectorRegex = /^([a-z][a-z0-9:_=-]*)?(#[a-z0-9:_=-]+)?(\.[^ ]+)*$/i; const [PATCH, INSERT, DELETE] = [-1, -2, -3]; let $onrenderCallbacks = []; -// Virtual Node Implementation with HyperScript-like syntax +// Virtual DOM implementation with HyperScript syntax class VNode { constructor(...args) { this.type = undefined;
M docs/js/h3.jsdocs/js/h3.js

@@ -54,14 +54,14 @@ }

} return true; } - return checkProperties(obj1, obj2); // && checkProperties(obj2, obj1); + return checkProperties(obj1, obj2); }; const selectorRegex = /^([a-z][a-z0-9:_=-]*)?(#[a-z0-9:_=-]+)?(\.[^ ]+)*$/i; const [PATCH, INSERT, DELETE] = [-1, -2, -3]; let $onrenderCallbacks = []; -// Virtual Node Implementation with HyperScript-like syntax +// Virtual DOM implementation with HyperScript syntax class VNode { constructor(...args) { this.type = undefined;
M docs/md/overview.mddocs/md/overview.md

@@ -23,7 +23,7 @@

Here's an example of an extremely minimal SPA created with H3: ```js -import h3 from "./h3.js"; +import { h3, h } from "./h3.js"; h3.init(() => h("h1", "Hello, World!")); ```

@@ -47,4 +47,4 @@ Go fix it! Or at least open an issue on the [Github repo](https://github.com/h3rald/h3), pleasy.

### Can I download a copy of all the documentation as a standalone HTML file? -What a weird thing to ask... sure you can: [here](https://h3.js.org/H3_DeveloperGuide.htm)!+What a weird thing to ask... sure you can: [here](https://h3.js.org/H3_DeveloperGuide.htm)!