Commit graph

1004 commits

Author SHA1 Message Date
Leo Horie
2d5d042131 allow m.redraw(true) to force-render component 2015-05-05 21:16:29 -04:00
Leo Horie
cd403225a2 try clean up archive folder 2015-05-05 14:31:47 -04:00
Leo Horie
cb5f7b0e12 as yaml 2015-05-05 10:40:06 -04:00
Leo Horie
8eb68edae6 Merge remote-tracking branch 'origin/next' into next 2015-05-05 10:37:20 -04:00
Leo Horie
509c4dab95 fix language reporting https://github.com/github/linguist#troubleshooting 2015-05-05 10:36:52 -04:00
Leo Horie
93105745d8 Merge pull request #599 from mindeavor/propify-catch
Add `catch` to promise-like objects
2015-05-04 11:21:14 -04:00
Leo Horie
aa9a87ac48 Merge pull request #600 from shibukawa/patch-3
Update components.md
2015-05-04 11:20:36 -04:00
Leo Horie
2f61c535fe Merge pull request #601 from shibukawa/patch-4
Update mithril.route.md
2015-05-04 11:20:06 -04:00
Leo Horie
9d4ba26f50 Merge pull request #602 from shibukawa/patch-5
Update mithril.component.md
2015-05-04 11:19:46 -04:00
Leo Horie
931dbabbcd fix typo 2015-05-03 19:31:05 -04:00
Yoshiki Shibukawa
b70b4191b7 Update mithril.component.md 2015-05-03 18:29:57 +09:00
Yoshiki Shibukawa
b58d772cb9 Update mithril.route.md
Fix sample code minor comment bug.
2015-05-02 22:55:10 +09:00
Yoshiki Shibukawa
39c3118070 Update components.md
Fix sample code. Contact.list() should return a list of Contact instances.
2015-05-02 07:49:02 +09:00
Gilbert
2a61907839 Test promise-like catch 2015-05-01 16:47:19 -05:00
Gilbert
dfb37fec9c Add catch to promise-like objects 2015-05-01 15:31:06 -05:00
Leo Horie
a3cc70863c fix link 2015-05-01 09:30:18 -04:00
Leo Horie
144818e316 fix link 2015-05-01 09:29:54 -04:00
Leo Horie
45c69ae97b build new pages 2015-05-01 09:24:28 -04:00
Leo Horie
b404d69d70 docs build 2015-04-30 22:02:06 -04:00
Leo Horie
7478ad948e v0.2.0 publish 2015-04-30 21:53:22 -04:00
Leo Horie
c45ba9600a add migration note 2015-04-30 21:52:38 -04:00
Leo Horie
cafedae62f Merge remote-tracking branch 'origin/next' into next 2015-04-29 21:44:00 -04:00
Leo Horie
6f1bdc916c fixed typo 2015-04-29 21:43:38 -04:00
Leo Horie
507c58395f Merge pull request #594 from pelonpelon/docs
Docs: mithril.component.m - Recommended changes
2015-04-29 14:15:10 -04:00
pelonpelon
dacd9f8ac4 Merge pull request #1 from pelonpelon/pelonpelon-patch-2
Docs: mithril.component.md - Recommended changes
2015-04-29 12:41:20 -05:00
pelonpelon
b48f8bf79c Docs: mithril.component.md - Recommended changes
These changes make the the text clearer to me. I did not want to change the voice of the text, but I tried to clear out some verbosity and improve consistency. I did my best not to interfere with the logic of the prose.

This document seems written to stand on its own, so I recommend the following changes:

- a general explanation of the args param as in `controller: function(args) {` and `view: function(ctrl, args) { ...` (when first used, well before the signature)
- a specific explanation of {data: args} in m.request() (mithril.request.md could use the same treatment)
- an explanation of the extras param as in `controller: function(args, extras) {` and `view: function(ctrl, args, extras) { ...`
- the term *rollback* should be explained or replaced
- caveat #3/#4: Should *root element* be changed to *top-most element* so as not to be confused with the element the component is mounted on ?
- in testing, explain why the first param to view is `null`

I hope you can find some of this useful.
2015-04-29 12:39:10 -05:00
pelonpelon
9d20a7cd8a Update mithril.component.md 2015-04-29 11:57:51 -05:00
pelonpelon
9c6cbab43e Update mithril.component.md
- The term *rollback* should be explained or replaced
- caveat #3/#4: Should *root element* be changed to *top-most element* so as not to be confused with the element the component is mounted on ?
2015-04-29 11:50:07 -05:00
pelonpelon
62e38287f7 Docs: mithril.component.m - Recommended changes
These changes make the the text clearer to me. I did not want to change the voice of the text, but I tried to clear out some verbosity and improve consistency. I did my best not to interfere with the logic of the prose.

This document seems written to stand on its own, so I recommend the following additions:

- a general explanation of the args param as in `controller: function(args) {` and `view: function(ctrl, args) { ...`
- a specific explanation of how {data: args} in m.request() becomes url parameters (mithril.request.md could use the same treatment)
- an explanation of the extras param as in `controller: function(args, extras) {` and `view: function(ctrl, args, extras) { ...`
2015-04-28 23:26:18 -05:00
Leo Horie
ea8853eec2 fix compile errors in ts file 2015-04-28 22:48:31 -04:00
Leo Horie
20179c17c7 Merge pull request #591 from blacha/next
Fixing TS1016: A required parameter cannot follow an optional parameter
2015-04-28 22:07:37 -04:00
Blayne Chard
23be76e03f Fixing TS1016: A required parameter cannot follow an optional parameter 2015-04-29 11:54:19 +12:00
Leo Horie
5ec440da21 add more caveats to docs 2015-04-28 16:23:38 -04:00
Leo Horie
47cc6a7b03 make it possible to return subtree directive as root 2015-04-28 15:56:43 -04:00
Leo Horie
9e26ef57f1 Merge remote-tracking branch 'origin/components' into components 2015-04-27 22:02:32 -04:00
Leo Horie
202f51c4ef remove outdated warning 2015-04-27 22:02:12 -04:00
Leo Horie
994056e683 Merge pull request #588 from barneycarroll/lineEndings
Avoid EOL diff horror by enforcing CRLF on commit
2015-04-27 08:19:36 -04:00
Barney
524a2c00e6 Avoid EOL diff horror by enforcing CRLF on commit 2015-04-26 12:53:35 +01:00
Leo Horie
0870839e90 don't allow extract option to break jsonp 2015-04-24 15:55:11 -04:00
Leo Horie
2177fbd446 improve docs 2015-04-24 08:22:42 -04:00
Leo Horie
82ceecd290 fix broken example in docs 2015-04-24 08:13:21 -04:00
Leo Horie
86deb2fcb6 oops. fix brokenness 2015-04-22 23:00:34 -04:00
Leo Horie
24a8b0b31c add some points to address common criticism 2015-04-22 22:46:01 -04:00
Leo Horie
fceb02e887 add note about MSX in guide 2015-04-22 22:34:31 -04:00
Leo Horie
585f1fe925 clean up markup for tweets 2015-04-22 22:03:12 -04:00
Leo Horie
7127df6e0e show some newer tweets 2015-04-22 21:49:54 -04:00
Leo Horie
f70b4cc01b update size 2015-04-22 21:18:55 -04:00
Leo Horie
5a786009c5 remove references to m.module 2015-04-22 21:18:41 -04:00
Leo Horie
ab1e91a221 tweak editorconfig preferences 2015-04-22 21:00:11 -04:00
Leo Horie
2de9985a34 throw error if entering infinite redirect loop 2015-04-22 20:45:37 -04:00