Commit graph

2938 commits

Author SHA1 Message Date
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
Leo
dc3d5f8494 fix migration example 2017-02-14 08:15:38 -05:00
Barney Carroll
43fca5898f Fix #1627 2017-02-14 11:29:01 +00:00
Isiah Meadows
e7f38bb3e8 Merge pull request #1622 from spacejack/simple-app-edits
Minor fixes to get the tutorial working
2017-02-14 01:01:47 -05:00
Isiah Meadows
066b98b7d3 Merge pull request #1620 from kberov/patch-1
fixed a typo
2017-02-14 00:58:01 -05:00
Pierre-Yves Gerardy
b70ba6709a [ospec] stricter valid context for test definitions and assertions 2017-02-13 19:39:32 +01:00
spacejack
19f1ac8908 Minor fixes to get the tutorial working 2017-02-12 19:41:47 -05:00
Красимир Беров
837edd3b53 fixed a typo 2017-02-12 21:28:09 +01:00
spacejack
fc4d5f1892 resolver.render return type description consistent with m.render 2017-02-12 15:14:06 -05:00
Bryce Gibson
6a617aeb87 Add tests for abort functionality. 2017-02-12 16:38:45 +11:00
Leo Horie
08236e7505 Merge pull request #1617 from pygy/warn-only
[ospec] Make some moise when `o.only()` is called
2017-02-12 00:32:18 -05:00
spacejack
7e0a1db89f API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
Pierre-Yves Gérardy
75b20e86e8 test: Re-enable the test suite (#1616) 2017-02-11 14:04:27 -08:00