Commit graph

3558 commits

Author SHA1 Message Date
Stephan Hoyer
b97fd59381 Warn about reusing mutated attrs object - fixes #2719 2022-02-09 20:37:02 +01:00
mike-ward
8ef7844f5a #2334 Dropdown to select docs for previous versions 2022-02-05 17:50:13 +01:00
Stephan Hoyer
99e038046b Revert "Only warn on pr-to-masters once"
This reverts commit 5fd0ca81b1.
2022-01-31 15:47:12 +01:00
Stephan Hoyer
5fd0ca81b1
Only warn on pr-to-masters once 2022-01-31 15:41:02 +01:00
James Cote
99c6d813d2
Send URLSearchParams as request body without extra configuration (#2695) 2022-01-31 10:12:02 +01:00
Stephan Hoyer
ab4b21dacc Make sure title attrs are removed properly - fixes #2676 2022-01-26 09:57:41 +01:00
Stephan Hoyer
fce750ab39 Fix require of marked to work with current version 2022-01-26 09:56:42 +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
Evoke-PHP
4351f62d46
Issue 2624 no content 204 parse (#2641)
Co-authored-by: Paul Young <paul.young@northpoint.com.au>
2022-01-25 21:48:02 +01:00
Pierre-Yves Gérardy
6aeb03837d Update change log 2022-01-25 21:44:45 +01:00
Pierre-Yves Gérardy
44d407f24c [m.request] work around a bundler bug, fix #2647 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
Stephan Hoyer
61da8243c3 Fix require 2022-01-25 19:25:40 +01:00
dependabot[bot]
50d3809dac Bump marked from 0.7.0 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 19:25:40 +01:00
Claudia Meadows
c6f5560b5e
Add @StephanHoyer to code owners 2022-01-19 02:54:42 -08: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
Claudia Meadows
f1c6a5794a
Update auto-merge.yml 2021-06-09 00:04:38 -07:00
Claudia Meadows
08051e9d33
Auto-merge Dependabot patch fixes 2021-05-10 19:03:59 -07:00
dependabot[bot]
5f58757085 Bump hosted-git-info from 2.8.4 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.4...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 07:22:29 +00:00
dependabot[bot]
4dce19fd5a Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 19:55:51 +00:00
dependabot[bot]
32e470e0b3 Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 16:41:35 +00:00
Barney Carroll
ade77f37c9
Remove unreachable keyed node logic, fixes #2597 (#2673) 2021-04-18 18:14:21 +01:00
Claudia Meadows
3b1bc04b9e
Delete test-utils/README.md (#2674) 2021-04-17 13:04:55 -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
Kevin Fiol
f5b41aaf0f
Reject request on XHR timeout (#2646)
Co-authored-by: Zachary Hamm <hamm.zachary@gmail.com>
2020-12-23 02:42:03 -08:00
Matias Kinnunen
2b5c2f0fc6
Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
Isiah Meadows
bd66955f1e Unbreak tests 2020-10-14 03:28:45 -07: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
1630b06106
Create push-master.yml 2020-09-14 20:59:17 -07:00
dependabot[bot]
0c16242f18
Bump acorn from 7.1.0 to 7.4.0 (#2630)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.4.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:53 -07:00
dependabot[bot]
ebd3cc180b
Bump handlebars from 4.4.2 to 4.7.6 (#2629)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.2...v4.7.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:45 -07:00
dependabot[bot]
46a518dcd0
Bump lodash from 4.17.15 to 4.17.20 (#2628)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:36 -07:00
dependabot[bot]
0fd8e230c3
Bump minimist from 1.2.0 to 1.2.3 (#2627)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:21 -07:00
Isiah Meadows
13af2d4cad Add Open Collective asset [skip ci] 2020-09-14 19:06:56 -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
Stephan Behnke
dca44b14ab
replace slave label with replica (#2605)
Co-authored-by: Stephan Behnke <git@stephanbehnke.de>
2020-06-19 09:15:19 -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
Tim Gates
11e8e861fc
docs: Fix simple typo, subsequece -> subsequence (#2582)
There is a small typo in mithril.js, render/render.js.

Should read `subsequence` rather than `subsequece`.
2020-04-08 12:07:28 -07:00
akessner
39c08f967a
change link to go to ospec instead of mocha (#2576)
* change link to go to ospec instead of mocha

Updated link regarding [issue 2575](https://github.com/MithrilJS/mithril.js/issues/2575)

* Update docs/testing.md

Co-authored-by: Isiah Meadows <contact@isiahmeadows.com>
2020-03-15 13:33:49 -07:00