Make sure namespaces are populated after they were created
This commit is contained in:
@@ -103,7 +103,7 @@ function generateExports(symbols, namespaces, imports) {
|
|||||||
nsdefs.push(`${ns[i]} = {};`);
|
nsdefs.push(`${ns[i]} = {};`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
blocks = imports.concat(nsdefs).concat(blocks);
|
blocks = imports.concat(nsdefs.sort()).concat(blocks.sort());
|
||||||
blocks.push('');
|
blocks.push('');
|
||||||
return blocks.join('\n');
|
return blocks.join('\n');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user