Leo
|
75b7f0fc81
|
handle contenteditable correctly
|
2016-11-02 13:15:43 -04:00 |
|
Leo Horie
|
65b4116666
|
don't throw error on undefined/null trusted vnode #1375
|
2016-10-28 09:51:07 -04:00 |
|
Leo Horie
|
40bc9449cb
|
don't break cursor on textarea update in Edge
|
2016-10-27 20:18:25 -04:00 |
|
maks feltrin
|
201de4bc8b
|
remove unneeded else
|
2016-10-24 17:41:31 +02:00 |
|
Leo Horie
|
730c960416
|
#1281 fixed recyling edge case
|
2016-10-04 16:33:57 -04:00 |
|
Leo Horie
|
b8ef290acd
|
improved bundler, handle width/height atts
|
2016-09-23 10:31:33 -04:00 |
|
Leo Horie
|
55f0dfa4dd
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
docs/route.md
|
2016-09-12 09:48:30 -04:00 |
|
Leo Horie
|
b9244f4c21
|
fix class removal
|
2016-09-12 09:45:57 -04:00 |
|
Pierre-Yves Gerardy
|
b8673f2ff5
|
Validate the DOM node passed to render
|
2016-09-09 15:20:26 +02:00 |
|
Leo Horie
|
ec07d76fcd
|
m.fragment docs
public api tests
|
2016-08-24 00:26:15 -04:00 |
|
Leo Horie
|
53a83a58f2
|
rename RouteResolver::view back to render to restore diff semantics
prevent double resolving
|
2016-08-23 22:33:18 -04:00 |
|
Barney Carroll
|
f2f8bf825e
|
Test case for circular component returns
|
2016-08-22 11:37:42 +01:00 |
|
Barney Carroll
|
db45260dbc
|
Throw self-returning component to avoid infinite loop #1260
|
2016-08-22 11:27:42 +01:00 |
|
Leo Horie
|
6bebdf8d4b
|
Merge pull request #1249 from pygy/m-fragment
Add `m.fragment()`
|
2016-08-18 19:27:07 -04:00 |
|
Pierre-Yves Gerardy
|
305035f03b
|
Add m.fragment()
|
2016-08-18 23:34:36 +02:00 |
|
Leo Horie
|
3682a78880
|
clean up duplicate test
|
2016-08-18 00:01:11 -04:00 |
|
Leo Horie
|
3761226c2c
|
Merge pull request #1244 from pygy/robust-onbeforeremove
Robust onbeforeremove
|
2016-08-17 23:54:36 -04:00 |
|
Pat Cavit
|
6ae4e22446
|
Improve hyperscript test coverage (#1250)
|
2016-08-17 10:09:35 -07:00 |
|
Pierre-Yves Gerardy
|
0b5800d09a
|
Make onbeforeremove done() handlers more robust.
|
2016-08-17 01:51:53 +02:00 |
|
Pierre-Yves Gerardy
|
0ddad54e88
|
Tests for remove phase Zalgo flakiness.
|
2016-08-17 01:51:53 +02:00 |
|
Pierre-Yves Gerardy
|
58cea7a283
|
Add a static vnode.skip field
|
2016-08-16 22:56:42 +02:00 |
|
Pierre-Yves Gerardy
|
71c20b84b8
|
Merge two if blocks, chomp an indentation level
|
2016-08-13 10:47:54 +02:00 |
|
Pierre-Yves Gerardy
|
905309cb17
|
Simplify vnode.state creation.
For components, `vnode.tag` is always an object.
|
2016-08-13 10:47:54 +02:00 |
|
Leo Horie
|
9c16ece556
|
don't cast to boolean
|
2016-08-12 23:55:45 -04:00 |
|
Leo Horie
|
6c3036e5c6
|
fix event removal in diff
fix CI
|
2016-08-12 22:08:02 -04:00 |
|
Leo Horie
|
499a9ccc6d
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
|
2016-08-11 19:44:43 -04:00 |
|
Leo Horie
|
f964252c2c
|
test for #1216
|
2016-08-11 19:44:23 -04:00 |
|
Leo Horie
|
6da45aa871
|
Merge pull request #1209 from pygy/fix-is
`is` should be passed as `{is: is}`
|
2016-08-11 12:14:32 -04:00 |
|
Gaspar
|
f0082473f9
|
Update style using element.style.cssText instead of element.cssText
|
2016-08-11 12:32:06 +02:00 |
|
Leo Horie
|
dca217f379
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
mithril.min.js
|
2016-08-11 00:32:01 -04:00 |
|
Leo Horie
|
9d38c12630
|
don't move element if not needed
|
2016-08-11 00:28:03 -04:00 |
|
suren shrestha
|
b2189a524f
|
proper selector check (#1231)
|
2016-08-10 13:56:58 -07:00 |
|
Pierre-Yves Gerardy
|
b6bb63ff85
|
Skip diff for cached, non-keyed nodes fix #1206
|
2016-08-06 00:10:54 +02:00 |
|
Pat Cavit
|
4b340ecd75
|
Clean up test for #1222 a bit (#1223)
Since @lhorie asked nicely.
|
2016-08-05 14:49:16 -07:00 |
|
Pat Cavit
|
c92e24b7e1
|
render clears non-mithril dom nodes
|
2016-08-05 14:15:25 -07:00 |
|
Gilbert
|
b0848070bc
|
Overwrite an element's style using cssText
This is the proper way to do it:
https://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-cssText
|
2016-08-05 00:49:26 -05:00 |
|
Pierre-Yves Gerardy
|
d71dcc5e94
|
is should be passed as {is: is}
|
2016-08-04 03:45:44 +02:00 |
|
Leo Horie
|
20da8d3dc8
|
remove redundant check
|
2016-08-02 10:43:50 -04:00 |
|
Leo Horie
|
f4b267ff39
|
don't duplicate html on updates
|
2016-07-30 15:46:14 -04:00 |
|
Leo Horie
|
a548290dda
|
Merge remote-tracking branch 'origin/rewrite' into rewrite
|
2016-07-29 22:04:20 -04:00 |
|
Leo Horie
|
7c736b511a
|
rename node to vnode
|
2016-07-29 22:04:04 -04:00 |
|
Pierre-Yves Gerardy
|
bfc69267d5
|
Remove a few crumbs I left behind
|
2016-07-29 20:31:06 +02:00 |
|
Pierre-Yves Gerardy
|
72bc17e9b4
|
Pass vnode.state as context to onbeforeremove.
|
2016-07-29 15:23:28 +02:00 |
|
Pierre-Yves Gerardy
|
0566b04a0f
|
Add test for onbeforeremove context.
|
2016-07-29 15:23:28 +02:00 |
|
Leo Horie
|
023956b62e
|
Merge pull request #1174 from pygy/move-up-vnodes-assignment
Move the `dom.vnodes` assignement up one line.
|
2016-07-26 10:32:34 -04:00 |
|
Gaspar
|
4acf5e58a3
|
Pass namespace to new children when updating their parent
|
2016-07-26 11:09:13 +02:00 |
|
Pierre-Yves Gerardy
|
75f1bd2f71
|
Move the dom.vnodes assignement up one line.
It makes it possible to peek into the vnodes tree from the `oncreate` hook of a component.
|
2016-07-26 08:58:38 +02:00 |
|
Leo Horie
|
1155027c91
|
fix #1163
|
2016-07-21 00:52:32 -04:00 |
|
Pierre-Yves Gerardy
|
7b09f1975c
|
Fix the onremove tests
|
2016-07-16 23:13:54 +02:00 |
|
Leo Horie
|
519b352c2c
|
fix onremove across components
|
2016-07-15 22:22:34 -04:00 |
|