Commit graph

2831 commits

Author SHA1 Message Date
Pierre-Yves Gérardy
47d59ea68a [test-utils] Make throttleMock more reliable 2017-06-13 23:30:12 +02:00
Pierre-Yves Gérardy
7de0124339 Tests for m.redraw.sync() 2017-06-13 23:22:25 +02:00
Pierre-Yves Gérardy
ccb3d61675 Make redraw monolithic, add m.redraw.sync 2017-06-13 16:27:54 +02:00
Pierre-Yves Gerardy
b004c20f0c Make m.redraw() strictly asynchronous 2017-06-13 15:20:29 +02:00
Gandalf-the-Bot
38956e119b Bundled output for commit c9186bcdec [skip ci] 2017-06-13 09:30:45 +00:00
Pierre-Yves Gérardy
c9186bcdec Merge pull request #1871 from pygy/fix-1870
Don't update textarea.value if the `DOM.value === vdom.value !== old.value`, Fix #1870
2017-06-13 11:28:43 +02:00
Pierre-Yves Gérardy
60e999fa89 [render/render] Add a special case for ; fix #1870 2017-06-12 18:42:46 +02:00
Pierre-Yves Gérardy
894152440b Add tests for #1870 2017-06-12 18:26:45 +02:00
Gandalf-the-Bot
6c06d41f94 Bundled output for commit 712be2bcc3 [skip ci] 2017-05-31 06:58:00 +00:00
Isiah Meadows
712be2bcc3 Merge pull request #1862 from pygy/fix-1595-redux
Re-fix #1595
2017-05-31 02:56:29 -04:00
Isiah Meadows
66aa377548 Simplify ESLint guard 2017-05-31 02:44:15 -04:00
Gandalf-the-Bot
e075be6154 Bundled output for commit f931b0b947 [skip ci] 2017-05-30 14:13:56 +00:00
Pierre-Yves Gérardy
f931b0b947 Merge pull request #1864 from pygy/fix-1820
Pass namespace when creating new elements while updating a keyed list…
2017-05-30 16:11:46 +02:00
Pierre-Yves Gerardy
40429c8377 Pass namespace when creating new elements while updating a keyed list, fix #1820 2017-05-30 14:17:46 +02:00
Pierre-Yves Gerardy
4616160a52 redo #1595 2017-05-29 17:19:55 +02:00
Pierre-Yves Gerardy
d21bfd4a36 Enable the tests for the updated #1595, add an additional sanity check 2017-05-29 16:47:14 +02:00
Pierre-Yves Gérardy
29bc42b574 Merge pull request #1861 from pygy/restore-attr-nodeValue
[test-utils/domMock] restore Attr.nodeValue for backwards compatibility
2017-05-29 14:04:34 +02:00
Pierre-Yves Gerardy
195263d226 [test-utils/domMock] restore Attr.nodeValue for backwards compatibility 2017-05-29 13:59:31 +02:00
Gandalf-the-Bot
662e0f1a9a Bundled output for commit a9838be1d9 [skip ci] 2017-05-29 08:06:28 +00:00
Pierre-Yves Gérardy
a9838be1d9 Merge pull request #1859 from pygy/refix-1595
Improve mocks and render/tests/test-attributes
2017-05-29 10:04:40 +02:00
Pierre-Yves Gerardy
58bc414635 tests for validating #1595 and #1804 2017-05-28 21:03:27 +02:00
Pierre-Yves Gerardy
e031fe49a1 [test-utils/domMock] improve attributes handling 2017-05-28 18:26:09 +02:00
Isiah Meadows
7ee4e002f3 Merge pull request #1855 from pdfernhout/patch-2
Update ospec to ignore hidden directories and files
2017-05-21 02:42:10 -04:00
Paul D. Fernhout
95addffda6 Update ospec to ignore hidden directories and files 2017-05-20 17:09:32 +00:00
Scotty Simpson
dfcbc8e2b3 docs: Update request.md (#1851) 2017-05-12 09:40:28 -07:00
Pierre-Yves Gérardy
085f5642be Docs: Correct typos [skip CI] 2017-05-04 16:28:06 +02:00
Pierre-Yves Gérardy
1370551104 Merge pull request #1846 from yurivish/patch-1
Improve the documentation of routing parameters
2017-05-04 16:14:12 +02:00
Pierre-Yves Gérardy
0a1c634d99 Clarify m.route.params in RouteResolver.onmatch 2017-05-04 16:05:39 +02:00
Yuri
a560bca85d Improve the documentation of routing parameters
I was stuck on this for a while earlier today: it turns out that `m.route.param` will not return the right results in the `onmatch` function on a `RouterResolver`, though it will inside of a `render` function on the same. This behavior is documented in the `onmatch` section but not the `m.route.param` section, which is where I was looking when I ran up against this earlier.

From an API design perspective it would make sense to me for `m.route.param` to return valid results inside `onmatch`, but I don't know enough about Mithril's internals to know how complex it would be to implement.
2017-05-03 21:21:57 -04:00
Gandalf-the-Bot
10b8507c1b Bundled output for commit de4433cd31 [skip ci] 2017-05-03 18:57:28 +00:00
Samuel Tilly
de4433cd31 Override namespace with xmlns attribute (#1825)
Fixes issue #1819 foreignObject inside SVG
2017-05-03 14:55:56 -04:00
Gandalf-the-Bot
2db6081601 Bundled output for commit 73d9265c6d [skip ci] 2017-05-02 21:31:10 +00:00
Scotty Simpson
73d9265c6d fix: selector [value=""] is mishandled (#1843) 2017-05-02 14:28:59 -07:00
Andrea Coiutti
af3da16832 docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
Pat Cavit
bef58fdfa5 chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
Kevin Cameron
e966025171 Correct example code 2017-05-01 22:54:05 -07:00
Gandalf-the-Bot
7e6a4869e9 Bundled output for commit 8191f7894c [skip ci] 2017-05-01 15:46:08 +00:00
Isiah Meadows
8191f7894c Merge pull request #1828 from spacejack/option-empty-string
Fix select option to use empty string value, add tests.
2017-05-01 11:43:53 -04:00
Scotty Simpson
414e74ba47 docs: Fix typo in es6.md (#1827) 2017-04-30 23:36:47 -07:00
spacejack
08a6638926 Minimize vdom diff in option value test 2017-04-30 15:14:44 -04:00
spacejack
0f9d5f1631 Fix select option to use empty string value, add tests. 2017-04-30 15:04:37 -04:00
Isiah Meadows
2aa6adf440 Merge pull request #1824 from lhorie/revert-1796-vnode-event
Revert "Pass `vnode` as second argument"
2017-04-28 16:42:44 -04:00
Isiah Meadows
b24c37c42d Revert "Pass vnode as second argument" 2017-04-28 16:40:13 -04:00
Scotty Simpson
0587139252 docs: Update components.md (#1818)
I went with "its", but "our" could work, too. Both, though — hm. Seems silly.
2017-04-27 16:49:19 -07:00
Isiah Meadows
46330d7f97 Merge pull request #1816 from micellius/patch-1
docs(jsx.md): add missing "!"
2017-04-27 12:18:54 -04:00
micellius
b6a251b5b8 docs(jsx.md): add missing "!"
Add missing "!" to result of interpolation for `{greeting + "!"}` expression
2017-04-27 17:21:00 +03:00
Isiah Meadows
7e30b62c1e Merge pull request #1815 from spacejack/select-option-value-test
Add test for select option with empty string value
2017-04-27 09:37:44 -04:00
spacejack
f8ccd418d3 Add test for select option with empty string value 2017-04-26 20:07:25 -04:00
David
e26e1f10c0 docs: URL Param + Variadic route doc (#1813) 2017-04-26 09:34:28 -07:00
Gandalf-the-Bot
ca0cd412a3 Bundled output for commit 040a70ff99 [skip ci] 2017-04-24 18:41:58 +00:00