Leo Horie
f126fb5ea6
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-04-13 15:33:15 -04:00
Leo Horie
cb966d9088
don't throw reference error if event is synthetic and forgets to pass e arg
2016-04-13 15:32:58 -04:00
Isiah Meadows
d0392953c5
Merge pull request #1010 from isiahmeadows/reattempt-definition-fix
...
Fix documentation nit
2016-04-02 16:25:35 -04:00
impinball
89165e9cab
Fix documentation nit
2016-04-02 15:51:38 -04:00
Isiah Meadows
1b312d8676
Merge pull request #997 from isiahmeadows/reattempt-definition-fix
...
Remove redundant generics, improve accuracy and completeness of types.
See #997 for details on migrating to these types.
2016-04-02 15:27:23 -04:00
impinball
26b8a029f5
Clean up Promise/Thenable types, remove PromiseProperty type.
2016-04-02 13:55:14 -04:00
impinball
d9aa3111bf
Dedupe vdom factories, fix args for vdom methods + {build,parse}QueryString
...
Also, add recursive Children type.
2016-04-02 12:31:40 -04:00
Isiah Meadows
4f34acc032
Merge pull request #1003 from isiahmeadows/enable-eslint
...
Actually lint core, regenerate minified files
2016-03-28 07:58:32 -04:00
impinball
a07483a164
Actually lint core, regenerate minified files
2016-03-28 07:54:26 -04:00
impinball
ad3b66eb54
Merge branch 'next' of https://github.com/lhorie/mithril.js into reattempt-definition-fix
2016-03-28 06:37:40 -04:00
Isiah Meadows
8f348435e4
Merge pull request #1002 from isiahmeadows/arg-fix
...
Serialize arguments correctly in m.component
2016-03-28 06:37:17 -04:00
impinball
d3753aea43
Set up m.request types for XHROptions and JSONPOptions
2016-03-28 06:36:02 -04:00
impinball
07244b1999
Serialize arguments correctly in m.component
2016-03-28 06:28:51 -04:00
Isiah Meadows
69f90deb64
Merge pull request #998 from dayuoba/next
...
change new Array => []
2016-03-26 08:07:29 -04:00
yuyang
82d65b076a
change new Array => []
2016-03-25 12:47:03 +08:00
impinball
26af09a017
Change some types to string unions, make m.redraw.strategy a BasicProperty<T>
...
In the latter case, the type already structurally satisfied that type.
Changing m.redraw.strategy simplifies the definition file, and aligns with
the docs.
2016-03-22 10:39:30 -04:00
Leo Horie
69cbb09c5f
cdnjs spidering wrong thing?
2016-03-22 10:26:31 -04:00
impinball
490a5c7b73
Remove useless generics, fix VirtualElement members, fix a few style issues
2016-03-22 09:28:00 -04:00
Leo Horie
fcf6e16929
Merge pull request #975 from barneycarroll/empty-attrs-string
...
Empty attributes. Fixes #971
2016-03-19 22:36:32 -04:00
Isiah Meadows
806e0a8dc1
Merge pull request #973 from isiahmeadows/lint
...
Make linter happy with mithril.js
2016-03-17 23:56:13 -04:00
Isiah Meadows
35cfda8dde
Merge pull request #988 from LabEG/feature/typing/make_more_short_and_nice_name_for_object
...
Simplify interface names (In continue of #984 )
2016-03-17 23:54:23 -04:00
Isiah Meadows
09b3b609ff
Merge pull request #991 from rwhitmire/next
...
fix broken link in mithril.deps.md
2016-03-17 23:41:23 -04:00
Ryan Whitmire
ad0fc7ed60
fix broken link in mithril.deps.md
2016-03-17 22:42:21 -04:00
LabEG
c9899d5e07
Remove ugly alias for m
2016-03-16 22:18:26 +03:00
LabEG
7f5d42e08c
Resolve conflict after pull request #983
2016-03-16 22:11:28 +03:00
Isiah Meadows
18ea93b160
Merge pull request #983 from LabEG/feature/typing_virtual_element
...
Remove generic from MithrilVirtualElement. Because him unused.
2016-03-16 01:39:43 -04:00
Leo Horie
64d1ce1d7d
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-03-16 01:07:07 -04:00
Leo Horie
96bf37588b
trailing semi-colon
2016-03-16 01:06:35 -04:00
LabEG
06ec4b6fad
Remove generic from MithrilVirtualElement. Because him unused.
...
Rename module to namespace. Module is deprecated.
2016-03-14 22:24:08 +03:00
Leo Horie
3f786af94d
Merge pull request #979 from tivac/varadic-m-for-loop
...
Use for-loop to map arguments instead of slice
2016-03-09 18:02:06 -05:00
Pat Cavit
eac505aead
Use for-loop to map arguments instead of slice
...
http://jsperf.com/arguments-slice-vs-for-loop-copy
2016-03-09 14:33:52 -08:00
Isiah Meadows
1a473ee63e
Merge pull request #964 from AlexanderLindsay/next
...
Fix definition of MithrilPromise
2016-03-03 20:13:51 -05:00
Barney Carroll
10f30dfa2e
Remove redundant logic as per @niothiel's tip
2016-03-03 15:26:09 +00:00
Carroll
ea946f1a0e
Empty attributes. Fixes #971
2016-03-03 10:27:26 +00:00
Isiah Meadows
791c94a0b1
Merge pull request #972 from isiahmeadows/test-fix
...
Remove npm-debug.log, disable failing test.
2016-03-02 19:50:42 -05:00
impinball
9d02042d78
Make linter happy with Mithril.js
2016-03-02 16:27:08 -05:00
Leo Horie
4b97b94f38
fix change log styling
2016-03-02 16:22:00 -05:00
Leo Horie
79665d46f4
fix version string
2016-03-02 16:16:33 -05:00
Leo Horie
501e380825
v0.2.3
2016-03-02 16:10:51 -05:00
impinball
b37bb657c0
Minified files are binary enough to count.
2016-03-02 15:40:27 -05:00
impinball
f589aa2005
Use common mock for tests.
2016-03-02 14:10:30 -05:00
impinball
199da9c21b
Merge branch 'next' of https://github.com/lhorie/mithril.js into test-fix
2016-03-02 14:05:21 -05:00
impinball
94d1ad6be4
Merge branch 'test-fix' of https://github.com/isiahmeadows/mithril.js into test-fix
2016-03-02 13:56:15 -05:00
impinball
55b99dd0e2
Remove an erroneous npm-debug.log, disable failing test
...
Driveby fix: fix a few linter warnings and actually have CI linting things.
2016-03-02 13:55:48 -05:00
impinball
81985e3d91
Remove an erroneous npm-debug.log, disable failing test
...
Driveby fix: fix a few linter warnings and actually have CI linting things.
2016-03-02 13:50:21 -05:00
Leo Horie
f17658e2d3
udpate min file
2016-02-29 12:56:48 -05:00
Leo Horie
3aa3545236
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-02-25 20:27:06 -05:00
Leo Horie
58ef29e8d5
#931 prevent unloaders from being registered more than once
2016-02-25 20:27:01 -05:00
Alexander Lindsay
40130c1cc5
Switched to using a union type
...
Changed T to T | MithrilPromise<T> in the MithrilPromise and
MithrilPromiseProperty definitions
2016-02-22 17:55:54 -08:00
Alexander Lindsay
b0b727ff73
Fix definition of MithrilPromise
...
MithrilPromise returns the value it holds and not another promise that
holds the value. MithrilPromiseProperty was adjusted to act as a nested
MithrilPromise.
2016-02-21 10:45:13 -08:00