Commit graph

2719 commits

Author SHA1 Message Date
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
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
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
Leo Horie
622bd6e165 Merge pull request #1689 from tivac/auto-publish
Docs auto-push to gh-pages branch
2017-03-09 09:43:26 -05:00
Leo Horie
a2ee51b99c Merge pull request #1696 from spacejack/remove-types
Remove typescript definitions
2017-03-09 09:41:37 -05:00
spacejack
3f981be83a Remove typescript definitions 2017-03-08 21:41:19 -05:00
Gandalf-the-Bot
0ceb42ed01 Bundled output for commit de3573497d [skip ci] 2017-03-08 23:54:02 +00:00
Leo Horie
de3573497d Merge pull request #1695 from pygy/anarchy
Let `render()` create the state rather than `vnode()`
2017-03-08 18:53:07 -05:00
Pierre-Yves Gerardy
74cbd4c17b Let render() create the state rather than vnode() 2017-03-08 22:19:27 +01:00
Pat Cavit
43f050ae44 Docs auto-push to gh-pages branch 2017-03-07 22:07:55 -08:00
Gandalf-the-Bot
1ffa4cf183 Bundled output for commit 27c6b7930a [skip ci] 2017-03-07 15:21:39 +00:00
Leo Horie
27c6b7930a Merge pull request #1672 from isiahmeadows/perf-update
Optimize memory for selector cache
2017-03-07 10:19:15 -05:00
Gandalf-the-Bot
3e5597e4d0 Bundled output for commit 24b96817a3 [skip ci] 2017-03-07 14:52:18 +00:00
Leo Horie
24b96817a3 Merge pull request #1682 from pygy/iice-to-iife
IICE => IIFE
2017-03-07 09:50:06 -05:00
Isiah Meadows
2b1fe6ca07 Diff stream bundle as binary [ci skip] 2017-03-05 02:19:46 -05:00
Красимир Беров
72359a76e3 Remove an obsolete line (#1681) 2017-03-04 23:38:34 +01:00
Pierre-Yves Gerardy
c3d015be28 IICE => IIFE 2017-03-04 23:24:21 +01:00
Pierre-Yves Gérardy
485febd0cc typo 2017-03-04 16:38:34 +01:00
Pierre-Yves Gérardy
fe793ff548 Merge pull request #1679 from RobertAKARobin/next
Put Stream in IIFE so variables aren't global
2017-03-04 16:36:15 +01:00
Pierre-Yves Gérardy
273d3d4740 Merge branch 'next' into next 2017-03-04 16:34:15 +01:00
Patrik Johnson
59ed3c7d48 Always expose stream on m.stream, use unpkg for docs (#1535)
... and document how streams are exposed in when loaded as <script> in global context
2017-03-04 16:27:02 +01:00
RobertAKARobin
23e4a57114 Put Stream in IIFE so variables aren't global
...when imported into the browser via <script> tags.
2017-03-03 20:44:41 -06:00