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
Leo Horie
f0b20da30a
update docs about config: m.route
2015-04-22 20:32:39 -04:00
Leo Horie
51d073e414
Merge remote-tracking branch 'origin/next' into components
2015-04-22 20:22:12 -04:00
Leo Horie
b0c4482ecc
Merge pull request #578 from therebelrobot/bugfix/m.route-redirect-url-update
...
Added check for this.attrs into m.route
2015-04-22 20:21:43 -04:00
Leo Horie
f557b3cd5c
Merge remote-tracking branch 'origin/next' into components
2015-04-22 20:21:21 -04:00
Leo Horie
675f66a44b
improve error message
2015-04-22 20:20:43 -04:00
Leo Horie
aebf16b618
Merge pull request #579 from alexander-travov/next
...
Fix URI.js url
2015-04-22 15:09:30 -04:00
Alexander Travov
99b78b0e7c
Fix URI.js url
2015-04-22 21:24:03 +03:00
Trent Oswald
1d6405e547
Added check for this.attrs into m.route
...
m.route('path'), when called programmatically (not attached to an anchor
tag), did not update the url in the navigation bar. I tracked it to this
error, where it is searching for an elements attributes, sepecifically
the this.attrs.href, which did not exist when called programatically.
The error returning was "Cannot read property 'href' of undefined",
which linked back to line 618 in the mithril core file.
I added a simple check to see if this.attrs exists before calling in
.href. Fixed it like a charm. I tried to follow the current coding
style, but let me know if there is something amiss in my change.
I ran both grunt test and grunt testall and everything seemed to run
perfect.
2015-04-22 10:31:33 -06:00
Leo Horie
8214d56411
clean up
2015-04-21 21:45:33 -04:00
Leo Horie
3137b63b12
add docs about infinite loop pitfall
2015-04-21 21:45:21 -04:00
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