Commit graph

3013 commits

Author SHA1 Message Date
spacejack
3fe56bb503 Revert eslintrc change, return Promise instead of using async/await 2017-10-28 18:32:58 -04:00
spacejack
0736f848cb Silence global-require rule in ospec, add ecma 2017 parser to eslintrc for async/await in test-ospec 2017-10-28 17:39:32 -04:00
Isiah Meadows
327c3bc46f
Merge pull request #2001 from zyrolasting/preloading-data-doc-clarification
Clarify source of 2nd render pass re: preloading data
2017-10-27 18:22:19 -04:00
Sage Gerard
f88da1c6da Clarify source of 2nd render pass re: preloading data
While the docs do say that a second render pass for preloaded data comes
from request completion, the example code for preloading data suggests that
a promise chain returned from `oninit` has a role to play in controlling the
second render pass.

The docs should make explicit where the redraw is initiated so the reader
does not mistakingly believe that `oninit()` retuning a promise changes
anything.
2017-10-27 15:25:34 -04:00
Pat Cavit
bd83b32709 docs: Add ospec releasing process & TOC 2017-10-17 15:37:43 -07:00
Pat Cavit
1a6b6a591c chore(ospec): merge package.json @ 1.4.0 back 2017-10-17 15:25:15 -07:00
Pat Cavit
5400501aa7 docs: reformat & flesh out webpack quickstart
Fixes #1995
2017-10-17 05:36:31 +00:00
Pat Cavit
666b7832e1 docs: add v1.1.5 TOC entry 2017-10-16 08:56:24 -07:00
Gandalf-the-Bot
f03427db85 Bundled output for commit 622e009811 [skip ci] 2017-10-16 06:40:15 +00:00
valtron
622e009811 recycling => shouldRecycle, Fix #1992 (#1993)
* Fix #1992

* doc in changelog

* add test for #1992
2017-10-16 08:38:44 +02:00
Pierre-Yves Gérardy
0691662fd4 change log: add v1.1.5 in next 2017-10-14 08:50:15 +02:00
Pat Cavit
06aee72f41 docs: fix v1.1.4 link 2017-10-14 06:09:46 +00:00
Gandalf-the-Bot
1e41f0c9a3 Bundled output for commit 8b56c70911 [skip ci] 2017-10-14 05:32:56 +00:00
Mateusz Jaworski
8b56c70911 fix: Allow for changing focus in lifecycle hooks (#1988) 2017-10-13 22:31:03 -07:00
Gandalf-the-Bot
77378af232 Bundled output for commit ae27c0ff18 [skip ci] 2017-10-04 22:02:02 +00:00
Isiah Meadows
ae27c0ff18 Merge pull request #1977 from isiahmeadows/remove-legacy-state
Remove support for `vnode.state = ...`
2017-10-04 18:00:16 -04:00
Vasil Rimar
000cc8382a docs: Fix typos (#1981) 2017-10-03 13:05:36 -07:00
Isiah Meadows
19d2ba316c Remove support for vnode.state = ...
- Remove docs for it
- Remove tests for it
- Add runtime check for unexpected reassignment, since we can't freeze
  the property (we internally have to be able to modify it)
2017-10-02 19:57:48 -04:00
Gandalf-the-Bot
ed941a8f18 Bundled output for commit d00c34a721 [skip ci] 2017-10-01 23:44:44 +00:00
Isiah Meadows
d00c34a721 Merge pull request #1979 from isiahmeadows/fix-option-value
Allow `xlink:href` to get removed, fix `option.value` in mock
2017-10-01 19:43:09 -04:00
Isiah Meadows
348bed0a7e Allow xlink:href to get removed, fix option.value in mock 2017-10-01 19:34:12 -04:00
Isiah Meadows
e36a8db9d4 Merge pull request #1974 from thysultan/patch-1
Fix menu css z-index
2017-09-26 20:46:44 -04:00
Sultan Tarimo
ce025e73fa Fix menu css z-index 2017-09-27 03:11:02 +03:00
Gandalf-the-Bot
c64822f576 Bundled output for commit 8a4280eb42 [skip ci] 2017-09-25 15:06:03 +00:00
Pierre-Yves Gérardy
8a4280eb42 api/redraw, console check for IE9 compat. 2017-09-25 17:03:48 +02:00
Gandalf-the-Bot
6c6caa1b57 Bundled output for commit cf9a31b7b0 [skip ci] 2017-09-24 19:11:27 +00:00
Pierre-Yves Gérardy
cf9a31b7b0 api/redraw: Log render() errors. 2017-09-24 21:09:36 +02:00
Gandalf-the-Bot
bdb04e1772 Bundled output for commit 98933b8bc1 [skip ci] 2017-09-18 00:39:56 +00:00
Isiah Meadows
98933b8bc1 Merge pull request #1949 from isiahmeadows/optimize-events
Optimize events, support objects with `handleEvent`
2017-09-17 20:38:08 -04:00
Isiah Meadows
6c603c4f96 Merge pull request #1971 from matildasmeds/docs-css-fix-typo
docs: Fix typo in css.md
2017-09-16 08:17:06 -04:00
matildasmeds
e7d0e5a506 docs: Fix typo in css.md 2017-09-16 14:13:02 +02:00
Pierre-Yves Gérardy
6b434ea590 Merge pull request #1970 from matildasmeds/docs-components-lifecycle-methods
docs: reorder lifecycle methods to match actual event order
2017-09-15 16:51:46 +02:00
matildasmeds
40229a1ab9 docs: reorder lifecycle methods to match actual event order 2017-09-15 16:41:14 +02:00
Pat Cavit
18c2b262ad docs: clarify PR process 2017-09-15 06:11:46 +00:00
Gandalf-the-Bot
5eb6c16965 Bundled output for commit 685cdedc62 [skip ci] 2017-09-15 06:11:37 +00:00
Matilda Smeds
685cdedc62 docs: Fix typo (#1968) 2017-09-14 23:10:11 -07:00
Matilda Smeds
12d9085fe7 docs: Consistent filepath comments to tutorial (#1965) 2017-09-11 23:09:44 -07:00
Henrik Glasø Skifjeld
b26e67d1e9 docs: Fix typo in jsx docs (#1959) 2017-09-05 09:50:11 -07:00
Isiah Meadows
c35852a368 Merge pull request #1955 from porsager/next
Use util.inspect to log in node - fixes #1661
2017-09-03 13:22:34 -04:00
Isiah Meadows
a1a7038e55 Rework event diffing for better optimizability
Re-ordered the type checks so that I can avoid polymorphic property
lookups in event updates. (It improved the common case of no change by
a little over ~40%.)
2017-09-01 17:06:19 -04:00
Isiah Meadows
d150e71a85 Merge MithrilJS/next into optimize-events 2017-09-01 15:38:53 -04:00
Rasmus Porsager
6083c67f07 Update change-log.md 2017-09-01 17:58:12 +02:00
Rasmus Porsager
406a08d836 Use util.inspect to log in node - fixes #1661 2017-09-01 14:02:58 +02:00
Isiah Meadows
57b6b516c8 Merge pull request #1928 from StephanHoyer/ospec-promise-support
support promise return in ospec
2017-08-31 14:52:55 -04:00
Stephan Hoyer
6fd8a52da0 Adapt test to new async callback behaviour 2017-08-31 19:31:08 +02:00
Stephan Hoyer
d8113a4470 Adapt change-log 2017-08-31 19:31:08 +02:00
Stephan Hoyer
39be9134f9 Support err as first argument for done callbacks in async tests 2017-08-31 19:31:08 +02:00
Stephan Hoyer
b345e4f023 Support promise return in ospec 2017-08-31 19:31:08 +02:00
Isiah Meadows
7ab6eb2ba0 Merge pull request #1953 from isiahmeadows/benchmark-update
Make the benchmark a little more precise
2017-08-31 12:25:28 -04:00
Isiah Meadows
5209071011 Merge next into optimize-events 2017-08-31 05:43:39 -04:00