Commit graph

42 commits

Author SHA1 Message Date
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
Leo Horie
276184484d fix diff bugs when there are null components in list 2016-07-15 00:28:01 -04:00
Leo Horie
7227cc546f fix recycling when tag is different in unkeyed node 2016-07-12 11:30:58 -04:00
Leo Horie
a6c56ff6b9 resolve hook in router 2016-07-11 09:50:00 -04:00
Leo Horie
ffa9736151 fix diff for other null component root cases 2016-07-08 15:08:56 -04:00
Leo Horie
abadcfc13a fix null ref when updating component root from null to something 2016-07-08 14:57:10 -04:00
Leo Horie
a988276e9b Revert "don't copy state anymore"
This reverts commit cece44d4ac.
2016-07-08 10:24:48 -04:00
Leo Horie
cece44d4ac don't copy state anymore 2016-07-08 00:40:52 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
693c87f5f1 fix svg class updates 2016-06-07 20:20:30 -04:00
Leo Horie
4b6c4254ba s/shouldUpdate/onbeforeupdate 2016-06-06 09:59:35 -04:00
Leo Horie
ddc430a6d3 fix most gcc warnings 2016-06-03 23:55:31 -04:00
Leo Horie
ca784a684e fix svg across component boundaries 2016-06-03 12:27:24 -04:00
Leo Horie
f9ef480b34 fix bugs about recycling in components, and styles when reusing style object 2016-06-02 21:42:18 -04:00
Leo Horie
86673f8d16 add missing fields to avoid monomorphism-related deopts 2016-06-02 21:41:19 -04:00
Leo Horie
15373057df ensure multiple attributes work at the same time as attrs w/ square brackets 2016-06-01 16:22:37 -04:00
Leo Horie
b2b0ab34dd parse pattern attribute correctly 2016-06-01 15:43:42 -04:00
Leo Horie
e7420e72e1 more tests 2016-05-24 23:16:43 -04:00
Leo Horie
977239d207 rename limiter to throttle and refactor
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways

fix some unrelated tests
2016-05-19 23:24:04 -04:00
Pat Cavit
e466ccebd0 Remove unused var (#1053)
Uglify caught this when I was testing to see what the updated min+gzip size was.
2016-05-19 12:41:25 -07:00
Leo Horie
60171f503d fix input cursor placement in chrome 2016-05-19 02:22:00 -04:00
Leo Horie
b4903538f3 prevent recycling for vnodes w/ integration methods 2016-05-19 01:20:21 -04:00
Leo Horie
5ec06e7c08 init state, fix examples 2016-05-15 11:14:38 -04:00
Leo Horie
5265697cb2 semi-working bundle 2016-05-14 01:01:35 -04:00
Leo Horie
41cfda2719 more component lifecycle tests 2016-05-13 07:03:01 -04:00
Leo Horie
f4c1d4a998 cleanup and styling 2016-05-11 11:52:41 -04:00
Gyandeep Singh
f1f77c80b3 Fix: For css class addition to svg elements 2016-05-11 10:47:13 -05:00
Leo Horie
d5371533a7 fix attribute syncing for input, select, textarea
optimize events
2016-05-10 01:55:48 -04:00
Leo Horie
4a215a2815 Merge pull request #1035 from avlcodemonkey/rewrite
Set value of a select after children are created.
2016-05-10 00:27:28 -04:00
Leo Horie
b17bd250b7 support all events 2016-05-06 10:11:31 -04:00
Leo Horie
ead2e8ac0b shouldUpdate, component oninit order fix 2016-05-05 23:20:31 -04:00
Leo Horie
3282ef3f77 components, angular dbmon 2016-05-03 23:39:01 -04:00
Chris Pittman
143a816d47 Set value of a select after children are created. 2016-05-03 11:03:34 -04:00
Leo Horie
559369016d initial commit (work in progress) 2016-04-20 20:02:37 -04:00