Isiah Meadows
1cc5fa5ba7
"use strict" and other linty fixes
2017-03-03 18:24:38 -05:00
Isiah Meadows
aaa6de784b
Merge pull request #1665 from barneycarroll/patch-14
...
Docs: component props aren't copied to instances
2017-02-27 10:44:32 -05:00
Barney Carroll
57d3de1e5c
Docs: component props aren't copied to instances
2017-02-26 17:29:43 +00:00
Isiah Meadows
aefee3b88e
Merge branch 'test-all-component-kinds' of https://github.com/pygy/mithril.js into next
2017-02-25 23:00:20 -05:00
Gandalf-the-Bot
3786373b58
Bundled output for commit ed5d9a2711 [skip ci]
2017-02-23 23:46:47 +00:00
Leo
ed5d9a2711
update linter
2017-02-23 18:45:47 -05:00
Leo
7f12a7e940
rebuild
2017-02-23 18:42:27 -05:00
Leo
e019c8131c
fix merge conflicts for #1610
2017-02-23 18:41:46 -05:00
Gandalf-the-Bot
c501f0fd81
Bundled output for commit d29c16e0a6 [skip ci]
2017-02-23 23:40:18 +00:00
Leo Horie
d29c16e0a6
Merge pull request #1645 from shibukawa/fix/request_use_body
...
When method is GET and TRACE, useBody becomes always false
2017-02-23 18:39:26 -05:00
Pierre-Yves Gerardy
2196f5c909
Add test-utils/components.js to index.html where needed
2017-02-21 09:16:08 +01:00
Isiah Meadows
1a4bcc44e6
Keep the bundles out of the diffs
...
Makes reviewing a little easier.
2017-02-20 18:32:20 -05:00
Leo
65941d1416
document classes
2017-02-19 08:29:35 -05:00
Leo
271ef96fef
Merge remote-tracking branch 'origin/next' into next
2017-02-19 08:27:48 -05:00
Leo
818c13dba9
fix example
2017-02-19 08:27:31 -05:00
Yoshiki Shibukawa
b86805ada3
when method is GET and TRACE, useBody becomes always false
2017-02-19 22:03:44 +09:00
Pierre-Yves Gerardy
fca89f987f
Tests: enable the three kind of components in all related files but api/tests/test-route.js
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
24243dba94
Tests: wrap the rest of the components definitions
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
ac38335453
Tests: Wrap some component definitions in createComponent() calls
...
These are the ones that would have been tedious to automate.
jscodeshift will handle the remaining ones
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
90b67b42f0
Tests: render/test-components tweaks
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
f96319e6f6
Tests: add dummy forEach blocks around sections with components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
a8e5189f0b
Tests: factory => closure components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
d7f39a8254
Tests: group together tests with/without components
2017-02-19 02:14:15 +01:00
Pierre-Yves Gerardy
eccea68212
Add test-utils/components.js and its tests
2017-02-19 02:14:15 +01:00
Gandalf-the-Bot
1a6554423d
Bundled output for commit 732ddf06be [skip ci]
2017-02-18 15:06:33 +00:00
Leo Horie
732ddf06be
Merge pull request #1595 from tivac/issues-1593
...
Loose comparison when early-outing from setting attributes
2017-02-18 10:05:42 -05:00
Leo Horie
d31e0a88f8
Merge pull request #1612 from bruce-one/xhr-abort
...
Avoid inaccurately inferring xhr abort.
2017-02-18 10:01:43 -05:00
Leo Horie
0412ed8218
Merge pull request #1640 from spacejack/class-factory-types
...
Add class and factory component type definitions.
2017-02-18 09:50:34 -05:00
Gandalf-the-Bot
68daa36e71
Bundled output for commit b9639dc485 [skip ci]
2017-02-18 14:47:21 +00:00
Leo Horie
b9639dc485
Merge pull request #1634 from pygy/fix-mount-class-factory
...
Let `m.mount` and `m.route` accept class and factory components.
2017-02-18 09:46:34 -05:00
spacejack
b3615aa607
Add class and factory component type definitions. Add JSDoc comments to types.
2017-02-18 08:44:01 -05:00
Pat Cavit
a578ffafdf
docs: another minor formatting tweak
2017-02-17 13:30:33 -08:00
Pat Cavit
76a816be86
docs: fix heading levels to be consistent
2017-02-17 13:30:03 -08:00
Pat Cavit
e324cf6b91
feat: Make streams publishable to NPM ( #1635 )
2017-02-17 13:01:32 -08:00
Gandalf-the-Bot
419d08fe8b
Bundled output for commit abceb2c9a8 [skip ci]
2017-02-17 17:35:43 +00:00
Pierre-Yves Gérardy
abceb2c9a8
chore: Make Gandalf builds track next ( #1639 )
2017-02-17 09:34:51 -08:00
Pierre-Yves Gerardy
f273b012c9
Add support for (m.mount + m.route) × (factory + constructible) components
2017-02-15 21:58:42 +01:00
Pierre-Yves Gerardy
f4fb5ac4be
Tests for routes that resolve to class and factory components
2017-02-15 21:58:41 +01:00
Pierre-Yves Gerardy
9e65e6bf47
Tests for mounting class and factory components
2017-02-15 21:58:41 +01:00
Pierre-Yves Gérardy
3f3af74dde
Support classes and factories as components ( #1339 )
...
* Support classes and factories as components
* Tests for class and factory component support
2017-02-14 22:48:02 -05:00
Bryce Gibson
a946ef5315
Fix xhr abort test.
...
Need to be more creative about ensuring that onreadystatechange is
called, but that the test conditions execute after that the function
(that does nothing...) is called.
2017-02-15 13:30:50 +11:00
Leo Horie
ff16c7f47a
Merge pull request #1618 from spacejack/api-docs-fixes
...
API docs signature fixes for route resolver, jsonp, fragment
2017-02-14 21:11:51 -05:00
Leo Horie
997a2cbaeb
Merge pull request #1623 from pygy/ospec-stricter-o
...
[ospec] stricter valid context for test definitions and assertions
2017-02-14 21:10:50 -05:00
Leo Horie
294d3383b1
Merge pull request #1631 from spacejack/typescript-types
...
Typescript Definitions for 1.0
2017-02-14 21:01:26 -05:00
spacejack
1e879963f1
Add Typescript definitions
2017-02-14 20:26:15 -05:00
Pat Cavit
03285f8279
docs: setting up mocks in non-browser env ( #1630 )
2017-02-14 14:35:28 -08:00
Bryce Gibson
27881af668
Ignore xhr.status for "file://" requests.
2017-02-15 08:34:40 +11:00
Leo Horie
dcb2f727b7
Merge pull request #1628 from barneycarroll/patch-10
...
Fix #1627
2017-02-14 08:17:11 -05:00
Leo Horie
6876cb025a
Merge branch 'next' into patch-10
2017-02-14 08:17:05 -05:00
Leo
d6cbc1c324
Merge remote-tracking branch 'origin/next' into next
2017-02-14 08:15:54 -05:00