Commit graph

1124 commits

Author SHA1 Message Date
James Forbes
8c149d3653 Release Artifacts for v2.2.2
[skip ci]
2022-05-26 04:30:20 +10:00
James Forbes
a8337c0651 Release Artifacts for v2.2.1
[skip ci]
2022-05-25 09:53:59 +10:00
Pierre-Yves Gérardy
e28385b14f
Move the chat to Zulip (#2771) 2022-05-24 23:15:14 +02:00
James Forbes
527c0de6e2 Release Artifacts for v2.2.0
[skip ci]
2022-05-16 18:14:36 +10:00
James Forbes
259902f5f8 Release Artifacts for v2.1.0
[skip ci]
2022-05-16 18:08:13 +10:00
Barney Carroll
dbfe373733
Clean up m.route.Link (#2768)
* Simpler m.route.Link documentation. Fixes #2767

* Remove redundant HTML encoding from markdown docs

* Warn about m.route.Link immunity to event handler API.

* Integrate @JAForbes review corrections

* Example code typo in docs/route.md

Co-authored-by: Matias Kinnunen <github@mtsknn.fi>

Co-authored-by: Matias Kinnunen <github@mtsknn.fi>
2022-05-10 17:23:10 +01:00
James Forbes
ff646e8fb8 Revisions based on feedback 2022-04-27 21:01:09 +02:00
James Forbes
65cf256775 Suggested amendments 2022-04-27 21:01:09 +02:00
James Forbes
f3c59665b1 Update release docs 2022-04-27 21:01:09 +02:00
Stephan Hoyer
9906e23118 Fix naming 2022-03-02 07:35:35 +01:00
Pier Bover
1c07143be4 Rework jsx docs 2022-03-02 07:35:35 +01:00
tebe
53bedd1102
Add Simple Application Flems Supporting v2.0.4 and up (#2751) 2022-03-01 11:26:12 +01:00
Stephan Hoyer
69f5cbdf64 Make example work with webpack v5.69.1 2022-03-01 08:04:27 +01:00
Stephan Hoyer
94774e73b0 Center docs again 2022-02-27 18:54:11 +01:00
kevinfiol
0aed7797a7 2604: correct and move text about statements in view method 2022-02-22 16:00:40 +01:00
Patrik Johnson
b2b0c4abe3 Installation docs: Add link to flems playground and replace shorthand w/ with full word 2022-02-20 17:25:13 +01:00
Claudia Meadows
1eec62eb3e Add changelog entry for m.Fragment, update name in new changelog 2022-02-20 12:23:44 +01:00
Stephan Hoyer
885b3f9442 Consistent naming of Mithril.js 2022-02-19 12:06:39 +01:00
Stephan Hoyer
7b1fda5b66 Add meta description to docs 2022-02-19 12:06:39 +01:00
Per Eriksson
d93cca964e updated babel/webpack docs to work with latest versions 2022-02-18 09:11:51 +01:00
Pierre-Yves Gerardy
891265de8b [docs] route redirection using the history API 2022-02-18 09:11:25 +01:00
Stephan Hoyer
9128d4e60a Correctly handle invalid escapes in routes
based on 0a5ead31c9fbd7b153c521c7f9d3df7bf826ce6c
2022-02-18 07:05:35 +01:00
Stephan Hoyer
e4bd2039b4 Add notice to changelog 2022-02-12 12:19:35 +01:00
Barney Carroll
cea8e64359 Reverting erroneous docs formatting 2022-02-12 12:19:35 +01:00
Barney Carroll
30cc031bf2 Back out migration ToC, correct references to vnode shape 2022-02-12 12:19:35 +01:00
Barney Carroll
febd97aac2 Back out migration ToC, correct references to vnode shape 2022-02-12 12:19:35 +01:00
Barney Carroll
11bced844c Back out migration ToC, correct references to vnode shape 2022-02-12 12:19:35 +01:00
Barney Carroll
9999fbe2a4 Text is always represented as text vnodes, never as vnode.text 2022-02-12 12:19:35 +01:00
hqproto
a671da246d Update standalone usage 2022-02-09 20:38:56 +01:00
mike-ward
8ef7844f5a #2334 Dropdown to select docs for previous versions 2022-02-05 17:50:13 +01:00
James Cote
99c6d813d2
Send URLSearchParams as request body without extra configuration (#2695) 2022-01-31 10:12:02 +01:00
Eugene Epifanov
7faf358e92 Update code on flems.io and update the link to it
This page contains a link to an example running on **flems.io**
The code on **flems.io** depends on `mithrill@1.1.6` and doesn't work with `mithril@2.0.0-rc.4`.
I added `mithril@2.0.0-rc.4` on **flems.io** as a dependancy and fixed some issues caused by `mithrill.withAttr` no longer existing.
Now code on this page and on **flems.io** are identical.
2022-01-26 09:01:32 +01:00
Gabriel Aumala
c075ac7b49 docs: improve m.request return value description
In the m.request return value description, add a line informing that
error status codes cause the promise to reject.
2022-01-25 23:07:51 +01:00
Stephan Hoyer
893de8b4ff Add change notice about m.request adoption for no content handling 2022-01-25 22:30:16 +01:00
Pierre-Yves Gérardy
6aeb03837d Update change log 2022-01-25 21:44:45 +01:00
Per Eriksson
e66aaf1458
A note on JSX events (#2648)
Co-authored-by: Stephan Hoyer <ste.hoyer@gmail.com>
2022-01-25 21:43:03 +01:00
Barney Carroll
70aff8cd69 Better route cancellation example, addresses #1856 2022-01-25 21:30:38 +01:00
Barney Carroll
cd087347f7 Document route resolution cancellation, fixes #1759 2022-01-25 21:30:38 +01:00
Arthur Clemens
5f9c635cad Remove old TOC link
Content was moved some time ago and linked section no longer exists.
2021-08-17 22:34:07 -04:00
cavemansspa
718650dc87
Cavemansspa patch 1 (#2696) 2021-07-30 23:04:52 -07:00
Danylo Hlynskyi
773e570b86
simple-application.md: consistent use of type=submit (#2657)
When following tutorial and typing everything in, I was confused that Save button didn't work. Turned out that tutorial switches type from "button" to "submit", which I haven't spotted. Perhaps it should had been "submit" from start?
2021-02-14 14:59:27 -08:00
Isiah Meadows
045e4f720a
Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07:00
Oscar
3ad404039f
fix some typos (#2487)
* fix some typos

Found some typos. Mainly unescaped `|` in tables, but also a few other irregularities. Not all problems are visible in the website docs.

* fix `<>` and `|` rendering

Fix those symbols inside a Markdown table, so they render correctly on the website and Github.

Co-authored-by: Isiah Meadows <contact@isiahmeadows.com>
2020-10-06 17:29:09 -07:00
Isiah Meadows
9f0dc2ab46
Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
Isiah Meadows
6d1dab07eb Fix assets [skip ci] 2020-09-14 18:55:29 -07:00
Miguel Espinoza
ff3e12e5d3
Update installation.md (#2608) [skip ci]
Co-authored-by: Isiah Meadows <contact@isiahmeadows.com>
2020-07-12 13:26:56 -07:00
Isiah Meadows
31d1df5caa
Fix #2601 (#2603)
Fix issue where ending a stream in the middle of a stream callback would result in erroneous parent stream state for the rest of that emit.
2020-06-16 08:36:40 -07:00
ZeikJT
cf7a841c4c
Remove extra isLifecycleMethod call from removeAttr (#2594) 2020-05-17 00:50:16 -07:00
kczx3
f9c9f6682d
ES6 and m.trust docs patch (#2593) 2020-05-07 15:19:36 -07:00
Denis Sikuler
0680f55893
Replace mocha by ospec in testing page (#2585) 2020-04-20 18:16:03 -07:00