Commit graph

1544 commits

Author SHA1 Message Date
Leo Horie
926ed2d692 teardown #571 test properly 2015-04-21 20:55:23 -04:00
Leo Horie
16bad63113 Merge pull request #575 from tobscure/redraw-all-fix
Add test case for #571
2015-04-21 20:54:23 -04:00
Leo Horie
8f9cbb751f teardown route tests properly 2015-04-21 20:53:54 -04:00
Leo Horie
2454e31f64 Merge remote-tracking branch 'origin/next' into components 2015-04-21 20:22:47 -04:00
Leo Horie
d09ec5bf8e Merge pull request #577 from tobscure/add-editor-config
Add EditorConfig
2015-04-21 20:16:59 -04:00
Leo Horie
f4dd244f0e Merge pull request #576 from tobscure/prevent-redraw-hooks
Prevent scroll on redraw called inside onunload if previous onunload calls preventDefault
2015-04-21 18:49:05 -04:00
Toby Zerner
38b8b1b654 Add EditorConfig 2015-04-22 07:51:31 +09:30
Toby Zerner
23766a5cbe Prevent scroll on redraw inside onunload if previous onunload calls preventDefault
https://github.com/lhorie/mithril.js/issues/560#issuecomment-93876904
2015-04-22 07:48:43 +09:30
Toby Zerner
337ec325b3 Add test case 2015-04-22 07:31:59 +09:30
Leo Horie
c5b0f068f1 Merge pull request #568 from johnmarkos/git-notrack-archive
Removed archive/v0.1.34/mithril-tests.js from git.
2015-04-21 10:54:31 -04:00
Leo Horie
3fd7013d90 Merge pull request #571 from tobscure/redraw-all-fix
Fix nodes without config not being cleared when redraw strategy is all
2015-04-21 10:53:20 -04:00
Leo Horie
d6911d105b clean up unused test code 2015-04-21 09:24:13 -04:00
Leo Horie
dbee97bf04 ensure component lifecycle works for components with implicit controllers 2015-04-21 09:23:55 -04:00
Leo Horie
7b96a583b3 improve docs 2015-04-21 08:20:00 -04:00
Leo Horie
c0865c6b85 update change log 2015-04-20 22:19:58 -04:00
Toby Zerner
46406095f2 Fix nodes without config not being cleared when redraw strategy is all
Nodes without a config function never get a configContext, and thus the
logic to ensure they are cleared on a full redraw was broken.
2015-04-21 11:47:53 +09:30
Leo Horie
c9be4b30ce improve docs about redrawing 2015-04-20 22:16:27 -04:00
Leo Horie
15c0686b27 prevent early redraw of component w/ routed async components 2015-04-20 12:41:51 -04:00
Leo Horie
cf1f316bee don't redraw component before async service finishes 2015-04-20 11:20:04 -04:00
Leo Horie
cc8cac358a #567 reset scroll before config runs 2015-04-18 22:39:59 -04:00
Leo Horie
b847ca1067 add regression test 2015-04-18 09:17:48 -04:00
Leo Horie
ec8e42a923 clean up dead variable 2015-04-18 09:17:37 -04:00
Leo Horie
6c32afea43 #569 fix diff edge case w/ select input 2015-04-17 22:21:03 -04:00
Leo Horie
006445960b clean up 2015-04-17 22:13:15 -04:00
Leo Horie
e4906706b1 fix template compiler edge cases 2015-04-17 22:09:14 -04:00
Leo Horie
981fae0a20 Merge branch 'next' into components 2015-04-17 08:14:37 -04:00
Leo Horie
fdeb6f9512 Merge remote-tracking branch 'origin/next' into next 2015-04-17 08:14:24 -04:00
Leo Horie
06721ceb76 js.org badge 2015-04-17 08:14:07 -04:00
John Markos O'Neill
0dbd022c62 Removed archive/v0.1.34/mithril-tests.js from git.
archive/ is already in .gitignore. This change removes the file
from tracking as well. It gets re-generated by `npm test`.
2015-04-16 23:35:41 -07:00
Leo Horie
1a97d3db95 Merge pull request #563 from johnmarkos/install-grunt
Install grunt explicitly to stop warnings.
2015-04-16 08:01:23 -04:00
Leo Horie
bca33a0b78 fix docs about using bleeding edge from npm 2015-04-15 22:41:15 -04:00
Leo Horie
fce5f4b86f prevent dom recreation if only class value changed 2015-04-15 22:40:50 -04:00
John Markos O'Neill
d4b5ebd90e Install grunt explicitly to stop warnings. 2015-04-15 16:53:58 -07:00
Leo Horie
81e9d64912 Merge pull request #561 from shibukawa/patch-2
Duplicated senteces
2015-04-15 13:31:56 -04:00
Leo Horie
94d804d850 #554 don't initialize ctx.retain 2015-04-14 22:47:56 -04:00
Yoshiki Shibukawa
3eac4a2596 Duplicated senteces
Signature document for "background" option contains almost same meaning sentences. First one has more information, and I think separated warning message is easy to read (difficult to pass through), I changed like this:

* Remove a simpler sentence.
* Move a detailed sentence to the bottom where simpler sentence was originally.
2015-04-15 11:10:27 +09:00
Leo Horie
e7992553d9 #560 prevent scroll on next redraw if onunload calls preventDefault 2015-04-14 21:51:56 -04:00
Leo Horie
ce883b4089 #555 don't cache controller if redraw strategy is all 2015-04-14 21:38:21 -04:00
Leo Horie
a7052510d6 Merge branch 'next' into components 2015-04-14 20:40:28 -04:00
Leo Horie
de9e08f885 Merge remote-tracking branch 'origin/components' into components 2015-04-14 20:40:08 -04:00
Leo Horie
41d440eaa7 add meta description and equalize protocol for twitter widgets 2015-04-14 20:39:49 -04:00
Leo Horie
0952007291 Merge pull request #558 from ArthurClemens/patch-1
Typo: redundant parens
2015-04-14 20:35:03 -04:00
Arthur Clemens
b3411f9509 Typo: redundant parens 2015-04-15 00:46:56 +02:00
Leo Horie
fae96e65c0 Merge pull request #556 from shibukawa/patch-1
Update mithril.route.md
2015-04-14 14:44:58 -04:00
Leo Horie
f1e709e34b Merge pull request #557 from valtron/patch-1
Canonicalize `options.method` in m.request
2015-04-14 14:44:47 -04:00
valtron
ce20520f3a Canonicalize options.method in m.request 2015-04-14 11:46:40 -06:00
Yoshiki Shibukawa
2f649b75be Update mithril.route.md 2015-04-15 00:50:29 +09:00
Leo Horie
35673c994b #535 prevent always-redraw-from-scratch if Object.prototype is polluted 2015-04-13 23:15:26 -04:00
Leo Horie
f0f1e88170 #551 don't destroy root if forced synchronous redraw 2015-04-13 23:04:04 -04:00
Leo Horie
4d03595bb1 example 2015-04-13 22:17:00 -04:00