all repos — h3 @ 843db90e49ee19b5491ff91ca8252570c368a84c

A tiny, extremely minimalist JavaScript microframework.

Fixed typos.
h3rald h3rald@h3rald.com
Fri, 01 May 2020 14:46:40 +0200
commit

843db90e49ee19b5491ff91ca8252570c368a84c

parent

bc817d0c08a19a5caf1a12a07b83744108a43249

3 files changed, 6 insertions(+), 6 deletions(-)

jump to
M docs/H3_DeveloperGuide.htmdocs/H3_DeveloperGuide.htm

@@ -7286,7 +7286,7 @@ <li><a href="#Special-attributes">Special attributes</a></li>

</ul> </li> <li><a href="#h3.dispatch(message:-string,-data:-any)">h3.dispatch(message: string, data: any)</a></li> - <li><a href="#h3.init(config:-object))">h3.init(config: object))</a></li> + <li><a href="#h3.init(config:-object)">h3.init(config: object)</a></li> <li><a href="#h3.navigateTo(path:-string,-params:-object)">h3.navigateTo(path: string, params: object)</a></li> <li><a href="#h3.on(message:-string,-handler:-function)">h3.on(message: string, handler: function)</a></li> <li><a href="#h3.redraw()">h3.redraw()</a></li>

@@ -7404,7 +7404,7 @@

<p>After importing the <code>h3</code> object, you can start developing your SPA. A bare minimum SPA is comprised by a single component passed to the <code>h3.init()</code> method:</p> <pre><code class="js">// A simple component printing the current date and time -// Pressig the Refresh button causes the applicationn to redraw +// Pressig the Refresh button causes the application to redraw // And updates the displayed date/dime. const Page = () =&gt; { return h3("main", [

@@ -7869,8 +7869,8 @@ <li><code>$log</code> &mdash; Dispatched after <em>any</em> message (except <code>$log</code> iself) is dispatched. Very useful for debugging.</li>

</ul> -<a name="h3.init(config:-object))"></a> -<h3>h3.init(config: object))<a href="#document-top" title="Go to top"></a></h3> +<a name="h3.init(config:-object)"></a> +<h3>h3.init(config: object)<a href="#document-top" title="Go to top"></a></h3> <p>The initialization method of every H3 application. You <em>must</em> call this method once to initialize your application by providing a component to render or configuration object with the following properties:</p>
M docs/md/api.mddocs/md/api.md

@@ -130,7 +130,7 @@ * `$redraw` &mdash; Dispatched after an application redraw is triggered.

* `$navigation` &mdash; Dispatched after a navigation occurs. * `$log` &mdash; Dispatched after *any* message (except `$log` iself) is dispatched. Very useful for debugging. -### h3.init(config: object)) +### h3.init(config: object) The initialization method of every H3 application. You _must_ call this method once to initialize your application by providing a component to render or configuration object with the following properties:
M docs/md/quick-start.mddocs/md/quick-start.md

@@ -40,7 +40,7 @@ After importing the `h3` object, you can start developing your SPA. A bare minimum SPA is comprised by a single component passed to the `h3.init()` method:

```js // A simple component printing the current date and time -// Pressig the Refresh button causes the applicationn to redraw +// Pressig the Refresh button causes the application to redraw // And updates the displayed date/dime. const Page = () => { return h3("main", [