Commit graph

1349 commits

Author SHA1 Message Date
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
impinball
d1edcf4340 Merge branch 'next' of https://github.com/lhorie/mithril.js into lint 2016-01-22 16:27:39 -05:00
impinball
0766d93bac Lint Mithril itself 2016-01-22 16:25:55 -05:00
impinball
fb3a534de0 Lint old tests 2016-01-22 14:07:25 -05:00
Isiah Meadows
17acef768f Merge pull request #944 from isiahmeadows/next
Don't lint old tests (yet)
2016-01-22 12:08:48 -05:00
impinball
7fcce538f4 Merge branch 'next' of https://github.com/lhorie/mithril.js into next 2016-01-22 12:07:10 -05:00
impinball
d6d5bac164 Ignore the old tests 2016-01-22 12:06:29 -05:00
Luis Felipe Souza
e083aaac9e Issue #938 Fixing typo 2016-01-22 14:21:41 -02:00
Isiah Meadows
11e79f8eef Merge pull request #942 from isiahmeadows/next
Reapply docs fix
2016-01-22 08:21:56 -05:00
impinball
b218f5156f Reapply docs fix 2016-01-22 08:20:26 -05:00
Isiah Meadows
196b9287fa Merge pull request #941 from lhorie/revert-940-next
Revert "Fix docs error"
2016-01-22 08:18:31 -05:00
Isiah Meadows
a8eb0fb082 Revert "Fix docs error" 2016-01-22 08:18:19 -05:00
Isiah Meadows
f2540f3d04 Merge pull request #940 from isiahmeadows/next
Fix docs error
2016-01-22 08:17:40 -05:00
impinball
90aa355795 Merge branch 'master' of https://github.com/lhorie/mithril.js into next 2016-01-22 08:13:53 -05:00
Leo Horie
05cdf51fc9 Merge pull request #939 from jshen212/patch-1
Cleaned up comment on line 557
2016-01-21 23:14:35 -05:00
Jeff Shen
567d9ebd15 Cleaned up comment on line 557
Fixed subject-verb agreement
2016-01-21 14:53:44 -08:00
Isiah Meadows
25b82d33e0 Merge pull request #933 from D3ucalion/patch-1
fix for issue #915
2016-01-18 05:39:41 -05:00
Cody Phillips
46b18caec6 fix for issue #915
Added undefined check at line 76 to prevent an uncaught type error which was occurring when the class attribute was encountered.
2016-01-17 19:31:17 -05:00
Leo Horie
62dd3d12ce Merge pull request #929 from maxlang/next
update typescript defs to support more accurate MithrilAttributes interface
2016-01-12 16:04:20 -05:00
Max Lang
d770f29e39 update typescript defs to support broader MithrilAttributes 2016-01-12 11:00:44 -05:00
Leo Horie
e32f37c523 Merge pull request #923 from iamjohnlong/safari-createContextualFragment-fix
Moves createContextualFragment into try/catch function
2016-01-10 10:32:10 -05:00
John Long
1eada0de80 Removes FIXME comment 2016-01-08 08:59:48 -07:00
John Long
aad2fc3e33 Adds test 2016-01-05 15:03:52 -07:00
John Long
2cc898877d Possibly fixes trust tests 2016-01-05 14:25:52 -07:00
Leo Horie
26cba390b2 Merge pull request #925 from naturalethic/readonly-property-fix
Fixed setAttributes for custom components (like Polymer uses) with readonly properties
2016-01-05 15:05:34 -05:00
Joshua Kifer
886d796e0b Fixed setAttributes for custom components (like Polymer uses) with readonly properties 2016-01-05 11:53:01 -08:00
John Long
0b9cbd1f82 Moves createContextualFragment into try/catch function 2016-01-05 12:20:40 -07:00
Leo Horie
d5af96f233 Merge pull request #918 from mogest/next
Small documentation tweak: kb -> kB
2015-12-31 10:14:39 -05:00
Roger Nesbitt
843a720f52 Small documentation tweak
Use "kB" instead of "kb" and include a space between units and the unit symbol.
After discussion with @isiahmeadows, make the size more specific too.
2015-12-31 23:00:37 +13:00
Isiah Meadows
24db992008 Merge pull request #919 from lhorie/isiahmeadows-definition-fix
Degenerify `MithrilRoutes`
2015-12-30 20:47:27 -05:00
Isiah Meadows
6a160dc10f Degenerify MithrilRoutes
The routes type doesn't need to be parametrized. It's far too restricting and technically incorrect.
2015-12-30 20:42:57 -05:00