Commit graph

3392 commits

Author SHA1 Message Date
Isiah Meadows
0707de5867
Swap out keys so they use mine (#2393) 2019-03-09 02:04:30 -05:00
Gandalf-the-Bot
a154ace889 Bundled output for commit b0e4f4f2f8 [skip ci] 2019-03-02 07:38:55 +00:00
Isiah Meadows
b0e4f4f2f8 Run npm audit fix 2019-03-02 02:37:08 -05:00
Arun Cvf
853a54ae79 Fix mixed content error. (#2383)
Mixed Content: The page at 'https://cdn.rawgit.com/MithrilJS/mithril.js/master/examples/threaditjs/index.html' was loaded over HTTPS, but requested an insecure stylesheet 'http://threaditjs.com/reset.css'. This request has been blocked; the content must be served over HTTPS.
2019-03-02 02:22:39 -05:00
tebe
8e7f85f389 Fixed wrong setItem params (#2381) 2019-02-25 14:19:42 -05:00
Gandalf-the-Bot
9550730e99 Bundled output for commit ddec23efe7 [skip ci] 2019-02-18 19:24:58 +00: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
Gandalf-the-Bot
621352fbd7 Bundled output for commit a9172f1129 [skip ci] 2019-02-07 10:14:46 +00:00
Yogesh Khatri
a9172f1129 Feature onmatch route param (#2371)
* added route param in onmatch

* fix docs

* included test

* docs fix
2019-02-07 05:12:53 -05:00
Isiah Meadows
6f8f011b88
Small typo fix (#2372) 2019-02-07 04:20:26 -05:00
Isiah Meadows
beb129c5fb Prepare ospec@3.1.0, mithril-stream@2.0.0
Also, correct the change logs to be much more consistent between each
other and ensure the ospec and stream change logs are linked to from
Mithril's primary change log.
2019-02-07 04:10:12 -05:00
Gandalf-the-Bot
b33f10d29b Bundled output for commit 7eea1b1e62 [skip ci] 2019-02-07 08:46:35 +00:00
Ivan Kupalov
7eea1b1e62 Fix Stream.end() (#2369) 2019-02-07 03:44:31 -05:00
Isiah Meadows
415862880d Forgot to revert ospec/package.json [skip ci] 2019-02-05 13:41:34 -05:00
Isiah Meadows
2ab559fdd0 Not updating ospec yet (I lack permissions) [skip ci] 2019-02-05 13:34:43 -05:00
Gandalf-the-Bot
194b767584 Bundled output for commit 99a61a09dc [skip ci] 2019-02-05 18:24:14 +00:00
Isiah Meadows
99a61a09dc
Update a few dependencies, update ospec to version 3.1.0 (#2370) 2019-02-05 13:20:55 -05:00
Isiah Meadows
02844a0b89 Fix version script [skip ci]
For some reason, it was never updated to include the stream bundle.
2019-02-05 11:40:42 -05:00
Isiah Meadows
c803918f00 v2.0.0-rc.4 2019-02-05 11:29:45 -05:00
Isiah Meadows
08feb1795e Fix linter error 2019-02-05 11:27:54 -05:00
Gandalf-the-Bot
de2e60acb3 Bundled output for commit 2a9b3964ca [skip ci] 2019-02-05 16:06:41 +00:00
Isiah Meadows
2a9b3964ca Fix the Stream.HALT warning's condition
Previously, it warned on all *but* the first use, which is obviously
wrong. This corrects it to correctly fire on only the first use.
2019-02-05 11:03:50 -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
722a4f4af9 Bundled output for commit f30cf0afaa [skip ci] 2019-01-17 08:32:04 +00:00
Isiah Meadows
f30cf0afaa
Streams should be in ES5 2019-01-17 03:29:50 -05:00
Gandalf-the-Bot
ee232f00ff Bundled output for commit 23fe0a5ab1 [skip ci] 2019-01-10 04:12:06 +00:00
Adam Gamble
23fe0a5ab1 Fixed scan with skip (#2357)
* Fixed bad test for scan

The previous test didn't catch the fact that the accumulator had been
broke, it's value became the special value `SKIP`.

* Fixed Stream.scan() to accept SKIP value

* Update stream/stream.js

Dropped unnecessary ternary as suggested by @isiahmeadows

Co-Authored-By: gamb <adam@gamb.co>
2019-01-09 23:10:02 -05:00
Gandalf-the-Bot
65e2561c55 Bundled output for commit 39c20bdb34 [skip ci] 2019-01-07 09:58:33 +00:00
Vasil Rimar
39c20bdb34 Handle [ fragment selector. Fixes #2349 (#2352)
* Handle `[` fragment selector. Fix #2349

* Update tests

* Simplify hyperscript function
2019-01-07 04:56:09 -05:00
Oliver Adria
1aaa2ff568 Fix typo in examples/editor (#2350)
* Small typo prevented Markdown Editor example from working
2018-12-29 23:26:03 -05:00
Gilbert
eaa1c13664 Show how to use each routing strategy in docs (#2332) 2018-12-06 18:30:43 -05:00
Isiah Meadows
e068bd421c Fix a couple missing files [skip ci]
Why does adding files have to be such a pain...?
2018-12-06 00:46:00 -05:00
Gandalf-the-Bot
3ecee10053 Bundled output for commit f09c84c369 [skip ci] 2018-12-06 05:38:48 +00:00
Isiah Meadows
f09c84c369 v2.0.0-rc.3 2018-12-06 00:36:12 -05:00
Isiah Meadows
8dbf63883b Update package-lock.json 2018-12-06 00:35:41 -05:00
Isiah Meadows
aacfda739a Merge branch 'next' 2018-12-06 00:34:15 -05:00
Isiah Meadows
353e4c1748 Make sure to include new bundles in version script 2018-12-06 00:33:11 -05:00
Gandalf-the-Bot
14a085e59c Bundled output for commit e31c06be3e [skip ci] 2018-12-06 05:27:23 +00:00
Isiah Meadows
e31c06be3e v2.0.0-rc.2 2018-12-06 00:23:58 -05:00
Gandalf-the-Bot
bd25a8b37d Bundled output for commit 966e78bcab [skip ci] 2018-12-06 05:21:03 +00:00
Isiah Meadows
966e78bcab
Allow variadic arguments to m.fragment (#2328)
* Implement support for variadic arguments to `m.fragment`

While I was at it, I refactored the common logic out of `hyperscript`.

* Add a missed change from #2326

* Update docs + changelog [skip ci]

* Explain rationale for `hyperscriptVnode`'s calling convention

This way, it doesn't get erroneously "cleaned up" into something worse,
and so it's clearer how it'd be potentially optimized once ES5 support
is dropped.
2018-12-05 23:57:42 -05:00
Gandalf-the-Bot
843f420291 Bundled output for commit 922093f1ba [skip ci] 2018-12-04 20:13:40 +00:00
Daniel Loomer
922093f1ba update stream export name (esm build) (#2330) 2018-12-04 15:11:38 -05:00
Gandalf-the-Bot
c6d6afbdfa Bundled output for commit bcc6003bf3 [skip ci] 2018-12-04 17:22:15 +00:00
Daniel Loomer
bcc6003bf3 make gandalf run build-esm fixes #2325 (#2326) 2018-12-04 12:20:28 -05:00
Isiah Meadows
8134c51a48
Fix style updates to avoid unnecessary allocation (#2312)
* Fix style updates to avoid unnecessary allocation

- Drive-by: properly censor `cssFloat` -> css `float:` to match DOM
  behavior

* Document `style` syntax + custom property support. [skip ci]

* Add a missing test

* Add a few more descriptive comments.

* Update changelog [skip ci]
2018-12-03 14:31:08 -05:00
Gandalf-the-Bot
b25e8e15a0 Bundled output for commit 462fb659d7 [skip ci] 2018-12-03 11:37:15 +00:00
Isiah Meadows
462fb659d7
Fix event handler this value, simplify redraw handling (#2320)
Shaves 10 bytes off the bundle from smaller name + reduced indirection
2018-12-03 06:35:27 -05:00
Gandalf-the-Bot
84cb4e750a Bundled output for commit 26b8d994ce [skip ci] 2018-12-01 01:43:56 +00:00
Isiah Meadows
26b8d994ce
Remove m.prop + m.withAttr (#2317)
* Remove `m.prop` + `m.withAttr`

- For many uses, `m.withAttr` is *more* verbose than just directly using
  an event handler
- If you're using it with a bound callback, you're literally wasting a
  single character in the human readable version (and you're *saving*
  them in the minified output).
- It sometimes obscures your intent, if overused.
- Functions are easier to compress than `m.withAttr`, resulting in
  slightly smaller bundles.
- `m.withAttr` is overused anyways.
- `m.prop` is basically useless without `m.withAttr`, and the API
  doesn't have the same benefits it had with 0.2.x.

* Update changelog
2018-11-30 20:41:24 -05:00