Commit graph

2949 commits

Author SHA1 Message Date
Isiah Meadows
dbbdb0664a Reduce memory allocation/usage across multiple event handlers
- `handleEvent` is a very useful tool.
- Always use `addEventListener`/`removeEventListener`, since it's
  required for this optimization.
- Change log updated.
- Drive-by: make DOM mock work with both event listener types.
- Drive-by: eliminate possibility of `Object.prototype` interference.
2017-08-25 05:19:30 -04:00
Isiah Meadows
164fa5615b Merge MithrilJS/next into next 2017-08-25 02:59:38 -04:00
Isiah Meadows
44c89f3257 Update package lockfile and danger/lint-staged 2017-08-25 02:59:38 -04:00
Jim Kalafut
b59ab50ba3 docs: Fix typo (#1940) 2017-08-18 23:02:38 -07:00
Gandalf-the-Bot
96aa185302 Bundled output for commit 457dd92d46 [skip ci] 2017-08-16 07:14:17 +00:00
Pierre-Yves Gérardy
457dd92d46 Merge pull request #1935 from spacejack/better-style-diff
More accurate style object diffs
2017-08-16 09:12:15 +02:00
spacejack
ae0b791530 Eleminate now-redundant if block. Add change-log notes. 2017-08-15 15:53:23 -04:00
spacejack
1e56f7763e More accurate style object diffs 2017-08-13 18:32:32 -04:00
Pat Cavit
c29e269c2c chore: ignore test-ospec when checking PRs 2017-08-06 22:18:57 -07:00
Gandalf-the-Bot
771dcd4738 Bundled output for commit 2032131340 [skip ci] 2017-08-03 23:07:49 +00:00
Pierre-Yves Gérardy
2032131340 Merge pull request #1924 from tskillian/fixRequestContentHeaders
Fix Content-Type header bug (Issue #1919)
2017-08-04 01:05:56 +02:00
tkilliansc
b4856a9ecd fix issue 1919 2017-08-03 13:48:19 -07:00
Isiah Meadows
73b3d98878 Merge remote-tracking branch 'MithrilJS/next' into next 2017-08-01 20:04:37 -04:00
Isiah Meadows
fecee45a82 Add me as a render/ owner [skip ci] 2017-07-31 06:38:36 -04:00
Pierre-Yves Gérardy
e53cd52a1c Merge pull request #1923 from pygy/fix-change-log
Move the #1921/#1922 line into the v1.1.4 change set
2017-07-31 12:29:29 +02:00
Pierre-Yves Gérardy
423253f1a8 Move the #1921/#1922 line into the v1.1.4 change set 2017-07-31 12:28:40 +02:00
Gandalf-the-Bot
6f77450d03 Bundled output for commit 157fb7d446 [skip ci] 2017-07-31 10:15:31 +00:00
Pierre-Yves Gérardy
157fb7d446 Merge pull request #1922 from pygy/fix-1921
Fix #1921
2017-07-31 12:13:42 +02:00
Pierre-Yves Gérardy
c96e085799 core: don't call onremove on the children passed to components that return from their view, fix #1921 2017-07-31 11:48:15 +02:00
Pierre-Yves Gérardy
da6122753c Add tests for issue 1921 (onremove fires on childrent that don't end up in the instance) 2017-07-31 11:39:36 +02:00
Jared Morrow
1da69da4dd docs: Fix mismatched brace in Authentication example (#1917) 2017-07-27 12:54:04 -07:00
Isiah Meadows
82322ad5a8 Merge remote-tracking branch 'MithrilJS/next' into next 2017-07-26 15:38:35 -04:00
Gandalf-the-Bot
8d01314253 Bundled output for commit 6048168505 [skip ci] 2017-07-22 20:41:22 +00:00
Isiah Meadows
6048168505 Merge pull request #1913 from MithrilJS/isiahmeadows-patch-1
Don't show diffs for package lock files
2017-07-22 16:39:01 -04:00
Gandalf-the-Bot
fd86c95d24 Bundled output for commit 5e62c13558 [skip ci] 2017-07-22 20:15:05 +00:00
Pat Cavit
5e62c13558 docs: add changelog entry to PR template (#1911) 2017-07-22 13:13:13 -07:00
Pat Cavit
45b69d4aca chore: run eslint --fix against commits (#1912) 2017-07-22 13:12:01 -07:00
Isiah Meadows
584117a00d Missed a word [skip ci] 2017-07-22 03:16:27 -04:00
Isiah Meadows
4ff0f2170e Don't show diffs for package lock files [skip ci] 2017-07-22 03:09:54 -04:00
Pat Cavit
bee11087af test: enable danger & tweak messaging 2017-07-21 23:19:08 -07:00
Pat Cavit
a7849a67ca chore: Implement danger for PRs (#1905) 2017-07-19 21:14:13 -07:00
Pat Cavit
49e52c6c00 chore: Issue/PR templates & CODEOWNERS file (#1906) 2017-07-19 11:17:51 -07:00
Pat Cavit
1434d35a6a chore: Remove bundle bin (#1902) 2017-07-19 09:04:47 -07:00
Gandalf-the-Bot
79d7d32139 Bundled output for commit a7820734a7 [skip ci] 2017-07-19 16:01:00 +00:00
Isiah Meadows
a7820734a7 Merge pull request #1903 from tivac/request-error-handling
XHR errors have response/code fields
2017-07-19 11:59:13 -04:00
Pierre-Yves Gérardy
5956314e36 Docs for async redraws and assorted changes (see #1592) (#1901) 2017-07-19 09:16:22 +02:00
Pat Cavit
5aac004709 refactor: XHR errors have response/code fields
So that there's no chance of data loss and it's trivial to get the response code (because it's hella useful)

Fixes #1866
Fixes #1876
2017-07-18 22:53:17 -07:00
Gandalf-the-Bot
1a1ae8e843 Bundled output for commit 8ab31790ab [skip ci] 2017-07-17 21:19:10 +00:00
Pierre-Yves Gérardy
8ab31790ab Merge pull request #1592 from pygy/async-redraw
Make m.redraw() purely asynchronous, add m.redraw.sync()
2017-07-17 23:16:44 +02:00
Pat Cavit
c7d72ba2de chore: mithril-stream@1.1.0 2017-07-12 21:04:09 -07:00
Pat Cavit
14726f7dd4 docs: add basic readme for mithril-stream 2017-07-12 21:04:09 -07:00
Pat Cavit
8bc343459c chore: ospec@1.3.0 2017-07-12 21:04:09 -07:00
Pat Cavit
7abe16cdc9 chore: add license files to sub-packages 2017-07-12 21:04:09 -07:00
Pat Cavit
6502cc366d docs: update ospec so version/license are automatic 2017-07-12 21:04:09 -07:00
Griffin
353bbe7fff docs: Clarifying babel/webpack docs (#1845) 2017-07-12 20:38:36 -07:00
Pat Cavit
482f0e71b9 docs: readme rework (#1898) 2017-07-12 20:34:45 -07:00
Gandalf-the-Bot
0631a6fd58 Bundled output for commit 0cd151b08a [skip ci] 2017-07-12 16:11:16 +00:00
Pierre-Yves Gérardy
0cd151b08a Merge pull request #1896 from tivac/travis-deps
Don't add travis-only deps to package.json
2017-07-12 18:09:26 +02:00
Pierre-Yves Gérardy
196277a96d Merge pull request #1899 from theRefugee/patch-1
Update request.md
2017-07-12 16:07:38 +02:00
theRefugee
9b6ec10a93 Update request.md 2017-07-12 15:20:43 +02:00