Patrick Steele-Idem
bff787d574
Fixes #886 - Write component initialization code when async out and all of its nested async outs finish
...
Store async tracking information independently on each out. Completion now trickles up the tree of outs
2017-10-11 10:27:04 -06:00
Patrick Steele-Idem
be1e2e0a68
Don't deep clone the events since it is not necessary
2017-10-11 10:27:04 -06:00
Patrick Steele-Idem
248432fc1d
Use const in init-components-tag.js
2017-10-11 10:27:04 -06:00
Patrick Steele-Idem
1dfd7dd78f
Use chai.config.includeStack = true;
2017-10-11 10:27:04 -06:00
Patrick Steele-Idem
5f686b8499
Clone the events object when running render tests
2017-10-11 10:27:04 -06:00
Austin Kelleher
83f711dac7
Fixes #883 - Properly propagate AsyncStream errors ( #884 )
2017-10-10 14:44:51 -04:00
Patrick Steele-Idem
2cc7251214
express should not have been removed out of main package.json
2017-10-02 10:55:47 -06:00
Patrick Steele-Idem
6277065e08
Cleaned up express test runner to work around bug in latest npm
2017-10-02 10:22:56 -06:00
Michael Rawlings
1e87ef9c68
Create CODE_OF_CONDUCT.md
2017-10-01 10:48:31 -07:00
Michael Rawlings
a2f14351d1
Update ISSUE_TEMPLATE.md
2017-09-29 16:17:15 -07:00
Patrick Steele-Idem
eabee8ce4a
Fixes #867 - on-detach event handler not called when the parent component is being destroyed
2017-09-27 22:48:16 -07:00
Michael Rawlings
c5670a3f0f
write coverage file so codecov can find it
2017-09-27 11:50:29 -07:00
Michael Rawlings
e7dd7b3a14
add codecov
2017-09-27 11:31:02 -07:00
Austin Kelleher
084e0613a0
Fixes #865 - Add documentation for Fastify.
2017-09-27 09:12:57 -07:00
Michael Rawlings
e8d7e670f4
v4.5.0-beta.4
v4.5.0-beta.4
2017-09-26 17:43:52 -07:00
Michael Rawlings
c96eca1c70
Custom elements support ( #860 )
...
* support rendering into a shadow root
* only lowercase the first letter of an event when camel style is used
* Don't use let. Allow ShadowRoot in jshint.
* for backwards compat, lowercase the entire event when using camel style
* define a custom elements's import as a dependency when it is used in a template
* when rendering on the server, generate a script tag to assign custom-element properties.
* assign attributes to custom-element as properties when actualizing/morphing
* add basic test for rendering a custom-element and assigning properties
* use flag to mark custom elements
* fix brittle version test
2017-09-26 17:37:25 -07:00
Patrick Steele-Idem
5d60824590
Fixes #631 - Add docs for including an imported component
2017-09-26 16:29:50 -07:00
Patrick Steele-Idem
a5c8061a17
Fixes #642 - [docs] Clarify that JS vars cannot be used in the style section
2017-09-26 16:03:33 -07:00
Patrick Steele-Idem
665bbe6abc
Updated CHANGELOG.md
2017-09-26 06:56:58 -07:00
Patrick Steele-Idem
45b7092485
4.5.0-beta.3
v4.5.0-beta.3
2017-09-26 06:56:15 -07:00
Patrick Steele-Idem
2ff5a259cb
Merge pull request #855 from marko-js/issue-854-component-all-the-things
...
Fixes #854 - Make every .marko file a UI component
2017-09-26 06:50:56 -07:00
Patrick Steele-Idem
1d69ea4909
Fix when component init code is rendered
2017-09-25 12:03:28 -07:00
Patrick Steele-Idem
e5f6bafa1c
Fixed code comment
2017-09-25 12:02:11 -07:00
Patrick Steele-Idem
f5dd337555
Fixed "single-template-write-version-comment" test to actually test the correct thing
2017-09-25 11:31:34 -07:00
Patrick Steele-Idem
2eacac1146
Remove getCurrentComponent helper since it is no longer needed
2017-09-25 11:28:39 -07:00
Yoni Medoff
0e8219d4cb
add no-arg tests for core tags ( #856 )
2017-09-25 11:13:34 -07:00
Patrick Steele-Idem
3e97522d12
Fixed typo in code comment
2017-09-25 11:53:11 -06:00
Patrick Steele-Idem
1c3a9cddd1
Associate the Marko UI component with the DOM node for split components
2017-09-22 14:32:26 -06:00
Patrick Steele-Idem
2b2ff0b7ca
Fixes #854 - Make every .marko file a UI component
2017-09-22 12:12:42 -06:00
Patrick Steele-Idem
9d14008d65
Additional fixes required for PR #834 (Fallback to regular require if module.parent.require is unavailable)
2017-09-19 13:38:00 -06:00
Patrick Steele-Idem
90cf7442d8
Only the src/ directory needs to be built before publish
2017-09-19 11:17:23 -06:00
Patrick Steele-Idem
2afc986254
Merge pull request #834 from SimenB/parent-require
...
Fallback to regular require if `module.parent.require` is unavailable
2017-09-19 11:10:18 -06:00
Patrick Steele-Idem
582e699f57
Merge pull request #849 from marko-js/Issue-848-marko-browser-refresh
...
Fixes #848 browser-refresh does not reload marko files if a static reference is held
2017-09-19 11:07:42 -06:00
Phillip Gates-Idem
c1b66f7397
Fix jshint error
2017-09-18 14:47:08 -04:00
Phillip Gates-Idem
d1c9bebe95
Fixes #848 browser-refresh does not reload marko files if a static reference is held
2017-09-17 16:22:00 -04:00
Austin Kelleher
a6d274b479
Merge pull request #845 from yomed/fix-link
...
fix docs link to lifecycle methods
2017-09-16 13:12:20 -04:00
Yoni Medoff
f4e819c142
fix docs link to lifecycle methods
2017-09-16 09:48:40 -07:00
Austin Kelleher
aaedc15336
4.5.0-beta.2
v4.5.0-beta.2
2017-09-15 16:47:16 -04:00
Austin Kelleher
752ec301ae
Merge pull request #840 from marko-js/key-scope-fix
...
Key scope fix
2017-09-15 16:46:12 -04:00
Michael Rawlings
44a1d70c16
add ids for any key when component.elId/getElId is used as an attribute value
2017-09-15 16:29:11 -04:00
Phillip Gates-Idem
cd832fd78a
Fixes #841 ( #842 )
2017-09-14 22:58:14 -04:00
Michael Rawlings
0968d7aaf8
use indexOf instead of includes to support Node 4
2017-09-13 15:07:10 -04:00
Austin Kelleher
90b66e7497
4.5.0-beta.1
v4.5.0-beta.1
2017-09-13 14:49:12 -04:00
Michael Rawlings
be4bc1b3c5
add back (legacy) support for component.elId + key in template
2017-09-13 14:05:26 -04:00
Austin Kelleher
04d0b871a9
Fixes #837 - Update esprima to the latest to support async/await and ES2017 inside of components. ( #839 )
2017-09-13 14:00:06 -04:00
Michael Rawlings
a92020684c
fix key/scope for attributes that have dashes in the name
2017-09-11 17:40:48 -04:00
Patrick Steele-Idem
0622d82b4b
Update CHANGELOG.md
2017-09-08 15:36:59 -06:00
Patrick Steele-Idem
cbf4013aef
Update CHANGELOG.md
2017-09-08 15:36:15 -06:00
Patrick Steele-Idem
b970394ca6
Merge pull request #835 from marko-js/multiple-roots
...
Fixes #817 - Support dynamic root elements
v4.5.0-beta.0
2017-09-08 15:27:44 -06:00
Patrick Steele-Idem
fc0f66dc49
4.5.0-beta.0
2017-09-08 15:23:50 -06:00