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
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
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
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
Leo Horie
8d06cb8142
Merge pull request #962 from maranomynet/minor-tweaks
...
Minor tweaks
2016-02-19 22:37:26 -05:00
mar
3f09713583
Use object lookup instead of long condition chain
2016-02-18 19:55:37 +00:00
mar
01ff1a36fd
Use object lookup instead of long RegExp
...
Should be faster.
2016-02-18 19:47:38 +00:00
mar
3e4af6ff22
Use Array#slice to convert arguments to Array
2016-02-18 19:16:32 +00:00
mar
74062cda29
Parameterize URLs with a single String#replace
2016-02-18 18:53:45 +00:00
Már Örlygsson
7a184cb3b7
Use RegExp#test instead of String#match
...
Using `.test()` is both faster and more explicit.
2016-02-18 18:44:16 +00:00
Leo Horie
dca271faef
Merge pull request #957 from Bondifrench/patch-1
...
Amending template converter
2016-02-10 12:07:15 -05:00
Leo Horie
5f804460fe
Merge pull request #958 from barneycarroll/patch-1
...
"Currently active component" is unhelpful at best, misleading at worst
2016-02-10 12:07:01 -05:00
Leo Horie
42d756ea74
change link to Arthur Clemens' template compiler
2016-02-08 10:28:51 -05:00
Barney Carroll
6e60ed5720
"Currently active component" is ambiguous at best
...
It seems this condition is put here to reassure users that redrawing in a given route state will not draw the views of components for other routes, but it's difficult to imagine how somebody might worry that might happen.
As it is, people end up believing that redraw acts per-component, which is highly misleading in a situation where there are nested components or multiple mount points, and the call to redraw is invoked within one of those components.
2016-02-07 19:20:31 +00:00
Dominik Dumaine
7e88af0820
Amending template converter
...
Switching to @arthurclemens modified template converter
2016-02-07 18:20:56 +11:00
Leo Horie
56a51664b7
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-02-05 12:19:41 -05:00
Leo Horie
741e588f4d
don't render undefined classes
2016-02-05 12:19:28 -05:00
Isiah Meadows
9798fbb5c9
Merge pull request #953 from spacejack/next
...
Typescript definitions updated for component and withAttr
2016-02-04 00:15:23 -05:00
Isiah Meadows
7ed4cfadee
Merge pull request #955 from ScottKelly/typo_in_component_md
...
Fixing typo in mithril.component.md file
2016-02-04 00:14:19 -05:00
Scott Kelly
55b29d2bef
Fixes typo in component.md
2016-02-03 21:54:49 -06:00
pixelmike
4a53a49b89
Added an overload for withAttr. Added parameters to component controller and view functions.
2016-01-30 12:22:01 -05:00
Leo Horie
0682932f63
remove is attribute regular element creation
2016-01-29 16:27:09 -05:00
Leo Horie
3196076358
Merge branch 'isiahmeadows-lint' into next
2016-01-28 18:40:32 -05:00
Leo Horie
4f0d479ee7
Merge branch 'lint' of https://github.com/isiahmeadows/mithril.js into isiahmeadows-lint
...
Conflicts:
mithril.js
tests/mithril-tests.js
2016-01-28 18:40:19 -05:00
Leo Horie
baa55cd262
fix onunload typo
2016-01-28 18:30:14 -05:00
Leo Horie
6b7ac83dde
Merge branch 'next' of github.com:lhorie/mithril.js into next
2016-01-27 11:22:26 -05:00
Leo Horie
3de5cb8aaf
allow string keys
2016-01-27 11:22:01 -05:00
Isiah Meadows
351be7e4e2
Merge pull request #950 from whit537/patch-1
...
fix typo: contoller → controller
2016-01-26 18:42:37 -05:00
Chad Whitacre
ef5ed9d70c
fix typo: contoller → controller
2016-01-26 17:44:07 -05:00
Isiah Meadows
f4723261d9
Merge pull request #943 from luisfmsouza/next
...
Issue #938 Fixing typo
2016-01-22 17:56:44 -05:00