mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Emit async frament name on asyncFragmentFinish event
This commit is contained in:
parent
6e46283abb
commit
78be7ddbe1
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,5 +6,6 @@
|
||||
/*.sublime-workspace
|
||||
*.orig
|
||||
.DS_Store
|
||||
.vscode
|
||||
coverage
|
||||
.nvmrc
|
||||
|
||||
@ -111,7 +111,8 @@ module.exports = function render(input, out) {
|
||||
if (!clientReorder) {
|
||||
events.emit('asyncFragmentFinish', {
|
||||
clientReorder: false,
|
||||
out: targetOut
|
||||
out: targetOut,
|
||||
name: name
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -45,7 +45,8 @@ module.exports = function(input, out) {
|
||||
|
||||
events.emit('asyncFragmentFinish', {
|
||||
clientReorder: true,
|
||||
out: af.out
|
||||
out: af.out,
|
||||
name: af.id
|
||||
});
|
||||
|
||||
out.flush();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user