Pat Cavit
eded5255ba
v1.1.0-rc.1
2017-03-27 14:31:03 -07:00
Pat Cavit
4d795364b0
chore: correct npm-created git tag
2017-03-27 14:28:07 -07:00
Pat Cavit
7b0674cf65
chore: publish to npm as mithril@next
2017-03-27 14:25:22 -07:00
Pat Cavit
46ebb340d1
merge: next onto master
2017-03-27 14:21:52 -07:00
Gandalf-the-Bot
6541d5ecf8
Bundled output for commit 0ce5dcac3b [skip ci]
2017-03-27 20:52:41 +00:00
Pierre-Yves Gérardy
0ce5dcac3b
Merge pull request #1746 from pygy/class-closure-compat
...
Class and closure components backwards compatibility fixes
2017-03-27 22:51:34 +02:00
Isiah Meadows
40637fe99f
Update components.md [ci skip]
2017-03-27 12:41:45 -04:00
Pierre-Yves Gerardy
0a76772283
Add tests for components that overwrite their state in oninit
2017-03-27 18:30:48 +02:00
Pierre-Yves Gerardy
e20fd3f876
Only call onremove and onbeforeremove when they are functions. Fix #1706
2017-03-27 16:47:45 +02:00
Pierre-Yves Gerardy
f7450c96b0
Document closure components (formerly known as "factory components") and flesh out class components docs
2017-03-27 16:47:45 +02:00
Pierre-Yves Gerardy
32ada55e00
Make the state undefined, not null during class and closure component initialization
2017-03-27 10:42:12 +02:00
Pierre-Yves Gerardy
2d2c53fcfc
Add some docs on undocumented vnode fields
2017-03-26 23:01:04 +02:00
Pierre-Yves Gerardy
d69f6e37aa
Add a shadow vnode._state field for view and hook lookups
2017-03-26 22:24:17 +02:00
Pierre-Yves Gerardy
7be2ff5feb
Strengthen the self-return prevention logic (for recycled nodes and updates)
2017-03-26 22:19:05 +02:00
Pierre-Yves Gerardy
aeb1c41bde
treat functions with a view() method as POJO, not closure component
2017-03-26 21:33:30 +02:00
Pierre-Yves Gérardy
f272e36de0
Merge pull request #1738 from pygy/fix-stream-end-map
...
Fix stream end map
2017-03-26 21:31:13 +02:00
Pierre-Yves Gérardy
ea9d5558e2
Merge pull request #1745 from kellytk/patch-1
...
Fix grammar
2017-03-25 21:34:46 +01:00
Kelly Thomas Kline
fe5f92eb2e
Fix grammar
2017-03-25 11:44:59 -07:00
spacejack
f1b66745af
docs: stream scan and scanMerge ( #1719 )
2017-03-24 22:06:59 -07:00
Pat Cavit
36ef455e69
chore: integrating .travis.yml fixes from master
2017-03-24 16:11:03 -07:00
Pat Cavit
35bcec12cd
chore: better commit message
2017-03-24 16:06:52 -07:00
Pat Cavit
a4f385a2bd
chore: gh-pages needs git values set
2017-03-24 16:00:41 -07:00
Pat Cavit
d151f03a56
chore: fix up some travis failures
2017-03-24 15:53:02 -07:00
Pat Cavit
33aa1fa735
docs: merge docs from next to master
2017-03-24 15:36:53 -07:00
calainos
9d3d8774ac
docs: Remove m.prop reference in error message ( #1742 )
...
Changing m.prop.combine and m.prop.merge to stream.combine and stream.merge
2017-03-24 15:32:11 -07:00
Pat Cavit
2a61e17332
feat: partial integrate to fix linting issue
2017-03-24 14:43:35 -07:00
Pat Cavit
2d03dc5dad
feat: partial integrate of release changes
2017-03-24 14:41:22 -07:00
Pat Cavit
4d928d4493
docs: use npm run release instead of npm version
2017-03-24 14:31:49 -07:00
Pierre-Yves Gerardy
f22f884b1e
Unregister the end streams after their dependents have run fix #1736
2017-03-24 22:29:43 +01:00
Pat Cavit
9c8cc83643
chore: add release script to simplify versioning
2017-03-24 14:26:48 -07:00
Pat Cavit
ad144072b6
chore: automate github release pages ( #1741 )
2017-03-24 12:35:14 -07:00
eladzlot
3578d0ffb3
added test for stream.end.map
...
Tests for issue #1736
Any maps set to the end stream do not get called.
In fact, for some reason adding a map to and end stream throws an error:
```
Cannot read property '_state' of undefined
at updateDependency (/Users/eladzlot/www/mithril.js/stream/stream.js:46:20)
```
2017-03-24 11:53:54 +03:00
Pierre-Yves Gérardy
fda816edba
Merge pull request #1735 from CreaturesInUnitards/patch-1
...
m.prop() isn't a thing anymore
2017-03-23 19:34:06 +01:00
Scotty Simpson
74125e42c7
m.prop() isn't a thing anymore
2017-03-23 08:39:49 -07:00
spacejack
5229b0bc93
docs: Fix extract siguature, clarify deserialize & extract descriptions. ( #1729 )
2017-03-21 10:59:44 -07:00
spacejack
683d85a952
refactor: Move scan and scanMerge to stream module ( #1718 )
2017-03-15 17:22:06 -07:00
Pierre-Yves Gérardy
c08b3f3c20
docs: more m.route docs fixes ( #1712 )
2017-03-14 16:31:57 -07:00
Leo
78c139a201
Merge remote-tracking branch 'origin/next' into next
2017-03-14 18:32:42 -04:00
Leo
1d48a30936
m.route.param docs #1711
2017-03-14 18:32:23 -04:00
Isiah Meadows
9b9c1a8c0f
Merge pull request #1705 from ferhate/patch-1
...
Fixes component usage in jsx.md.
2017-03-13 12:58:58 -04:00
Ferhat Elmasgüneş
0ed3695f78
Fixes component usage.
...
Updates `m.mount(document.body, <MyComponent />)` to `m.render(document.body, <MyComponent />)`.
After consuming a component using `m(component)`, you can't *mount* it to element but you can *render*.
2017-03-12 15:34:01 +02:00
Gandalf-the-Bot
7d0df1d09a
Bundled output for commit de94503dbf [skip ci]
2017-03-12 09:46:33 +00:00
Pierre-Yves Gérardy
de94503dbf
Merge pull request #1704 from gyandeeps/lint
...
Chore: Fix lint issues and add indent with tabs
2017-03-12 10:45:35 +01:00
Gyandeep Singh
daf5a64697
Chore: Fix lint issues and add indent with tabs
2017-03-11 15:54:41 -06:00
Gandalf-the-Bot
123a413b68
Bundled output for commit 9223521259 [skip ci]
2017-03-10 00:37:27 +00:00
Leo Horie
9223521259
Merge pull request #1671 from isiahmeadows/strict-mode
...
"use strict" and other linty fixes
2017-03-09 19:36:34 -05:00
Isiah Meadows
c90bf5ac2d
Fix a few syntax errors
2017-03-09 12:29:04 -05:00
Isiah Meadows
934e0ac55e
Merge branch 'next' into strict-mode
2017-03-09 11:54:32 -05:00
Leo Horie
5fa4c6025a
Merge pull request #1555 from pygy/ospec-no-global-install
...
[ospec:docs] Document the fact that ospec doesn't work when installed globally
2017-03-09 09:47:13 -05:00
Leo Horie
b71d437fa7
Merge pull request #1657 from me7/Fix-todomvc-state.update-and-ui.save
...
Fix todomvc state.update and ui.save
2017-03-09 09:45:39 -05:00