Commit graph

2662 commits

Author SHA1 Message Date
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
Pierre-Yves Gerardy
9b3e646303 [ospec] make o.only noisier 2017-02-11 23:02:06 +01:00
Leo
6dd9394fef Merge remote-tracking branch 'origin/next' into next 2017-02-10 10:09:38 -05:00
Leo
632677e00c fix update lifecycle in children of recycled 2017-02-10 10:09:18 -05:00
Bryce Gibson
9558c8e2e9 Avoid inaccurately inferring xhr abort.
xhr.status can equal zero in non-abort scenarios, eg timeout or CORS
failure.

Instead use a variable to track aborts.
2017-02-10 18:18:14 +11:00
Leo Horie
9d7a315db6 Merge pull request #1611 from balajisivanath/patch-1
Possible grammar correction
2017-02-09 12:32:03 -05:00
balajisivanath
a273f512df Possible grammar correction 2017-02-09 22:59:45 +05:30
Leo Horie
a85f595dcd Merge pull request #1610 from ytetsuro/fix-IE11-input-type-error
Error in IE11 due to setting of type attribute
2017-02-09 10:05:13 -05:00
Leo
0d9a51fe37 fix lifecycle in unkeyed child of recycled keyed 2017-02-09 09:54:48 -05:00
Leo
8feb6d3b39 add note about browser support 2017-02-09 08:44:37 -05:00
Leo
bf8ce3b1fd v1.0.1 2017-02-09 08:32:09 -05:00
Leo
dc42b60687 #1609 fix lifecycle hooks in children of recycled keyed vnode 2017-02-09 08:31:08 -05:00
Tetsuro Yoshikawa
fdf2985adf Error in IE11 due to setting of type attribute
If you assign an input type that is not supported by IE11 with an
assignment expression, an error will occur.
2017-02-09 22:27:55 +09:00
Leo Horie
2688db881a Merge pull request #1598 from gyandeeps/ie-fix
Update: Add elem to parent before adding its children
2017-02-08 19:37:25 -05:00
Luiz Paulo "Bills
1f38233a47 docs: better example codes (#1606) 2017-02-08 15:41:00 -08:00
Barry Els
153161b849 docs: Minor grammar and link bait update :) (#1602) 2017-02-08 11:30:34 -08:00
Yoshiki Shibukawa
c7e0b204f8 docs: Update route.md (#1600)
Fix typo
2017-02-07 23:02:39 -08:00
Gyandeep Singh
390e1fe343 Update: Add elem to parent before adding its children 2017-02-07 21:55:01 -06:00
Pat Cavit
5ab2cf4172 fix: Use loose comparison for non-string values
fixes #1593
2017-02-06 14:46:31 -08:00
Pat Cavit
23a1693c02 docs: add m.route.build/parseQueryString to changelog (#1594) 2017-02-06 14:35:25 -08:00
Leo
e3b0861b8a clean doc artifacts 2017-02-03 23:06:22 -05:00
Leo
a89e8cd405 add docs about mixed keys 2017-02-03 22:56:34 -05:00
Leo
9d5f686bbd #1579 prevent infinite loop in non-existent default route 2017-02-03 22:21:14 -05:00
Leo
5faa996805 fix some links 2017-02-02 08:30:41 -05:00
Leo
c861ade3fa fix typo 2017-02-02 07:46:29 -05:00