Commit graph

433 commits

Author SHA1 Message Date
Leo Horie
df2a3234df Merge pull request #251 from zzmp/refactor-type-fn
Refactor type fn for readability/brevity
2014-09-17 17:46:01 -04:00
zzmp
d763793027 refactor type fn for readability/brevity 2014-09-17 12:17:18 -07:00
Leo Horie
86a79a0f5e setTimeout of 16 instead of 0 2014-09-16 21:42:42 -04:00
Leo Horie
5db2dc8434 clean up redundant code 2014-09-16 00:29:01 -04:00
Leo Horie
b3b3853d71 beef up docs 2014-09-16 00:17:22 -04:00
Leo Horie
f667d18b36 don't use invalid element tag names 2014-09-15 21:30:52 -04:00
Leo Horie
b224506159 update change log 2014-09-15 17:29:01 -04:00
Leo Horie
5a134ecf5b fix bug when mixing keyed and unkeyed elements 2014-09-15 15:53:52 -04:00
Leo Horie
6949676e4f Merge pull request #249 from nickolasgregory/patch-3
docs: tweaked example components setter-getter
2014-09-15 12:25:57 -04:00
Leo Horie
1c5067834e Merge pull request #247 from nickolasgregory/patch-1
docs: minor typo
2014-09-15 12:24:54 -04:00
nickolasgregory
46e8ffc627 tweaked example components setter-getter
Pass the function, not the returned object, to the autocompleter component.
Allows `dashboard` to pass results from `m.request()` - Tested OK
2014-09-15 20:01:14 +10:00
nickolasgregory
149c0cdaef docs: minor typo 2014-09-15 19:52:35 +10:00
Leo Horie
e8af4fd7b5 fix size in readme 2014-09-14 21:41:00 -04:00
Leo Horie
70e7dec0ac remove redundant code 2014-09-14 21:40:03 -04:00
Leo Horie
86f58655f1 update change log 2014-09-14 21:37:23 -04:00
Leo Horie
7fb6146ecc Merge branch 'typescript_defs_no_implicit_any' of github.com:cbowdon/mithril.js into cbowdon-typescript_defs_no_implicit_any
Conflicts:
	mithril.d.ts
2014-09-14 01:04:10 -04:00
Leo Horie
7d718a9e76 Merge pull request #242 from Whoaa512/m.module-return-controller
M.module return controller
2014-09-14 00:59:44 -04:00
Leo Horie
71ba9edf4e one more test, just to test out a hunch 2014-09-14 00:56:00 -04:00
Leo Horie
1dffbf781f improve docs 2014-09-14 00:52:11 -04:00
Leo Horie
067da7eedc code style 2014-09-14 00:47:06 -04:00
Leo Horie
8c3467b819 improve docs 2014-09-14 00:22:00 -04:00
Leo Horie
81fc994954 Merge pull request #244 from franknova/patch-1
Update mithril.route.md
2014-09-12 13:38:40 -04:00
franknova
5608b5ce4c Update mithril.route.md
Set the `m.route.mode="hash"` first, then define the `m.route`
2014-09-12 13:24:17 +08:00
C. James Winslow
1222eb913a return reference to the instantiated controller from m.module 2014-09-10 16:21:33 -07:00
C. James Winslow
445087c606 changed the tests to expect that m.module returns the instance of module.controller that was passed to it 2014-09-10 16:20:42 -07:00
C. James Winslow
343687d5f2 update typescript definition 2014-09-10 16:19:43 -07:00
C. James Winslow
36f02f5410 updated docs 2014-09-10 16:19:20 -07:00
C. James Winslow
13a7754f2b whitespace fixes 2014-09-10 16:19:02 -07:00
Chris Bowdon
b7cdeaf46e TypeScript defs: module can actually take a Node 2014-09-08 08:21:47 +08:00
Chris Bowdon
7948ef9be5 TypeScript defs: added return types where missing from MithrilXHROptions. 2014-09-07 18:00:39 +08:00
Leo Horie
0ee2d7f200 mimic html fallback-to-doing-nothing-on-invalid-attributes behavior in IE8, instead of throwing non-helpful "Invalid argument." error 2014-09-04 22:10:14 -04:00
Leo Horie
8285b903d6 clarify shim requirement 2014-09-04 21:27:38 -04:00
Leo Horie
5ff1767646 Merge pull request #233 from Bobris/next
Useless line removed.
2014-09-03 21:16:20 -04:00
Leo Horie
e94db04de1 Merge branch 'next' of github.com:claydotio/zorium.js into claydotio-next
Conflicts:
	mithril.js
	tests/mithril-tests.js
2014-09-03 21:14:14 -04:00
Leo Horie
d11087e9f6 fix wording 2014-09-03 21:10:50 -04:00
Boris Letocha
b9830271d3 Useless line removed. 2014-09-03 00:08:49 +02:00
Leo Horie
76a7d7f6d9 handle html5 form attribute as a special case like list 2014-09-01 18:32:28 -04:00
Leo Horie
b70284d493 code style 2014-09-01 11:29:53 -04:00
Leo Horie
18dcfce5e2 don't need partial ability when deferring config calling 2014-09-01 10:47:26 -04:00
Leo Horie
a87e2a1414 small refactoring 2014-09-01 10:42:15 -04:00
Zolmeister
3dc6f1e16c m: Added splat support for m() constructor 2014-08-31 01:22:05 -07:00
Leo Horie
4d79d91c57 Merge pull request #227 from claydotio/next
removed Function.bind() call
2014-08-26 19:36:11 -04:00
Leo Horie
6e48b9e730 version bump 2014-08-26 19:35:09 -04:00
Leo Horie
d951d23213 Merge pull request #226 from aembke/alec/upstream
JSONP transport
2014-08-26 19:34:06 -04:00
Zolmeister
f612ce4b2c removed Function.bind() call 2014-08-26 16:30:02 -07:00
Alec Embke
07ff5c9cf8 merged upstream with jsonp additions 2014-08-25 11:09:55 -07:00
Alec Embke
daf8160bf2 added jsonp transport 2014-08-25 10:36:26 -07:00
Zoli Kahan
df39e1127f Merge pull request #221 from jmventura/next
check store nullity in m.prop #220
2014-08-21 17:20:15 -07:00
Juan Manuel Ventura
fd7b3e0803 check store nullity in m.prop 2014-08-22 01:18:36 +02:00
Leo Horie
f803da2008 fix custom getter setter example 2014-08-21 12:53:37 -04:00