Commit graph

177 commits

Author SHA1 Message Date
Yorhel
00cf6c6b67 Build 2024-10-01 13:24:01 +02:00
Yorhel
c9f185c6c9 Shrinking 2024-10-01 13:21:35 +02:00
James Forbes
cfa890f685 Release Artifacts for v2.2.5
[skip ci]
2024-09-26 13:51:53 +10:00
Claudia Meadows
abd7f86888
next -> main 2024-09-24 20:59:33 -07:00
James Forbes
455cccb3b5 Release Artifacts for v2.2.4
[skip ci]
2024-09-25 12:03:41 +10:00
Claudia Meadows
8865d09457
Update README.md 2024-09-23 04:54:24 -07:00
tbreuss
a621d9d411
docs: removed question mark and fixed not working anchor link (github/npm) 2024-09-23 04:50:05 -07:00
James Forbes
274cb2fff2 Release Artifacts for v2.2.3
[skip ci]
2023-01-25 07:17:06 +11:00
Stephan Hoyer
a459a81832 inline obsolete factory 2022-06-06 12:56:25 +02:00
Stephan Hoyer
716d1e1804 Kick jsonp - fixes #2682 2022-06-06 12:56:25 +02:00
Stephan Hoyer
e9a365c150 Kick promise polyfill 2022-05-30 08:38:13 +02:00
Pierre-Yves Gérardy
1b4e628ce3
Turn README images from plain HTML to markdown (#2773) 2022-05-25 20:09:06 +02:00
Pierre-Yves Gérardy
ab32c0d1ca
Fix malformed image tag 2022-05-25 14:04:15 +02:00
Pierre-Yves Gérardy
e28385b14f
Move the chat to Zulip (#2771) 2022-05-24 23:15:14 +02:00
tbreuss
a8e25b739b Fixed badges, consistent naming of Mithril.js 2022-02-23 10:05:42 +01:00
Stephan Hoyer
ee7fe52ee8 Update deps 2022-02-21 15:02:31 +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
Matias Kinnunen
2b5c2f0fc6
Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
Isiah Meadows
caef6a8f09 v2.0.4 2019-08-18 14:21:31 -04:00
Isiah Meadows
0d10dc2c89 v2.0.3 2019-07-27 20:57:02 -04:00
Isiah Meadows
9d3ce5fa6d v2.0.2 2019-07-27 20:29:19 -04:00
Isiah Meadows
234b1c9302 Update migration, fix various minor issues
- Lot of people couldn't migrate to v1 and plan to reevaluate when v2 is
  released.
- It's "npm" not "NPM". It doesn't stand for anything, and it never
  has - it was initially chosen simply because it was easy to type.
  It has a lot of unofficial backronyms with "Node Package Manager"
  being one of the most common ones, but it's never officially stood
  for anything as an acronym *or* initialism.
- Fixed a few errors in the change log, like non-breaking changes being
  included in the "Breaking Changes" section and an inaccuracy in the
  summary of a particular change.
- Fixed RawGit URLs to point to GitHack, which is a lighter proxy that
  offloads caching to Cloudflare instead of also implementing it itself.
  (It also just uses nginx for all the important server logic, so it
  scales better.)
- Add a few more v0.2 references as appropriate
2019-07-24 05:01:20 -04:00
Isiah Meadows
8186818e10 Add TS installation notes 2019-07-24 00:30:08 -04:00
Isiah Meadows
ae6b547673 v2.0.0-rc.9 2019-07-16 21:59:00 -04:00
Isiah Meadows
582bda56dc
Partially recast the router API to be a lot more intuitive. (#2469)
* Recast the router API to be a lot more intuitive.

Fixes #2387
Fixes #2072
Fixes quite a few issues reported on Gitter.

For `m.route.Link`:

- More intuitive
- More accessible
- More ergonomic
- It can be disabled
- It can be cancelled
- It can be changed
- Oh, and you can use it isomorphically.

For `m.route.prefix`

- You can *read* it.
- You can write to it, of course.
- It's literally just setting a property.

For the router itself (and the rest of Mithril):

- You can now `require("mithril")` and all its submodules without a DOM
  at all. There is a catch: you can't instantiate any routes, you can't
  mount anything, and you can't invoke `m.render` in any capacity. You
  can only use `m.route.Link`, `m.route.prefix`, hyperscript stuff, and
  `mithril/stream`, and you can use `m.request` with `background: true`
  if you use a global XHR polyfill. (You can't use `m.request` without
  `background: true` except with a DOM to redraw with.) The goal here is
  to try to get out of the way for simple testing and to defer the
  inevitable `TypeError`s for the relevant DOM methods to runtime.

  The factory requires no arguments, and in terms of globals, you can
  just figure out based on what errors are thrown what globals to
  define. Their values don't matter - they just need to be set to
  *something*, even if it's just `null` or `undefined`, before Mithril
  executes.

Had to make quite a few other changes throughout the docs and tests to
update them accordingly. Oh, and that massive router overhaul enabled me
to do all this.

Also, slip in a few drive-by fixes to the mocks so they're a little
easier to work with and can accept more URLs. This was required for a
few of the tests.

* Update changelog + numbers, add forgotten bundle option

* Add PR numbers to changelog [skip ci]

* Allow continuing to the next match by returning `false`.

* Update numbers again
2019-07-12 15:29:37 -04:00
Isiah
09ccf0e3b3 Bundled output for commit 794e8e963f [skip ci] 2019-05-29 13:43:31 +00:00
Isiah
09afc54c7b Bundled output for commit 58f1c74394 [skip ci] 2019-05-29 13:30:52 +00:00
Daniel Loomer
9b38e41fd6 standardize cdn links in docs (#2416)
- consistently use @next and explicit path
2019-05-27 11:58:11 -04:00
Isiah Meadows
ddec23efe7
Mithril now accepts donations through OpenCollective (#2363)
* Mithril now accepts donations through OpenCollective

* Include both backers and sponsors

* Add a contributing TOC, retitle page, fix a few links
2019-02-18 14:21:13 -05:00
Isiah Meadows
b91a10a233
s/mithril/mithril@next/g, add v1 docs link [skip ci] (#2368)
This should help point users to the correct version if they plan to
install the release candidate, and it should help users find the
existing docs for v1.
2019-02-02 11:01:51 -05:00
Gandalf-the-Bot
65e2561c55 Bundled output for commit 39c20bdb34 [skip ci] 2019-01-07 09:58:33 +00:00
Gandalf-the-Bot
c6d6afbdfa Bundled output for commit bcc6003bf3 [skip ci] 2018-12-04 17:22:15 +00:00
Gandalf-the-Bot
84cb4e750a Bundled output for commit 26b8d994ce [skip ci] 2018-12-01 01:43:56 +00:00
Gandalf-the-Bot
021ef90455 Bundled output for commit 7cbc15e7a2 [skip ci] 2018-11-29 01:12:39 +00:00
Gandalf-the-Bot
50fb2370bc Bundled output for commit 4a641092dc [skip ci] 2018-11-27 23:06:31 +00:00
Isiah Meadows
4a641092dc
Officially drop IE9-10 support, pull out our hacks (#2296)
- I also fixed a bunch of related comments
- I had to polyfill `requestAnimationFrame` for Node
- Drive-by: run `eslint . --fix`
- Drive-by: update transpiling info in CONTRIBUTING.md
- Drive-by: we aren't the only ones going semicolon-free
2018-11-27 18:04:15 -05:00
Lukas Drgon
a2bf713e00 Add alternative CDN (#2018)
* Add alternative CDN
* Update README.md
Co-Authored-By: LukasDrgon <lukas.drgon@gmail.com>
2018-11-27 22:09:50 +01:00
Gandalf-the-Bot
42919cdf91 Bundled output for commit 7c299ab48c [skip ci] 2018-11-26 14:41:50 +00:00
Gandalf-the-Bot
87033bf1e0 Bundled output for commit 4c5968a526 [skip ci] 2018-11-26 10:51:03 +00:00
Gandalf-the-Bot
d1c090efb7 Bundled output for commit 421474c0e2 [skip ci] 2018-11-24 13:15:33 +00:00
Saravyas
d66b7f6c0d readme updated for npm installation (#2303)
* readme updated for npm installation

* change request
2018-11-19 02:57:12 -05:00
Gandalf-the-Bot
749f54d7cf Bundled output for commit 4d579c50b6 [skip ci] 2018-11-15 00:28:11 +00:00
Gandalf-the-Bot
8f7d85b0c9 Bundled output for commit 638d72481c [skip ci] 2018-11-14 20:50:41 +00:00
Gandalf-the-Bot
0d36d0db85 Bundled output for commit 4f68984f2f [skip ci] 2018-11-14 20:36:41 +00:00
Gandalf-the-Bot
19ac08c7bc Bundled output for commit d6489e3b3f [skip ci] 2018-11-07 23:44:25 +00:00
Gandalf-the-Bot
7140c483c6 Bundled output for commit 6042b001f0 [skip ci] 2018-11-07 17:20:53 +00:00
Gandalf-the-Bot
75626b30db Bundled output for commit 843d7ad454 [skip ci] 2018-11-06 20:51:09 +00:00
Gandalf-the-Bot
b1f1a2b94b Bundled output for commit 3e494583c6 [skip ci] 2018-10-25 19:05:10 +00:00
Gandalf-the-Bot
d2ca44b693 Bundled output for commit 68e412bb59 [skip ci] 2018-10-14 20:34:43 +00:00