mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Added custom tag for <test-import-module>
This commit is contained in:
parent
07e513c6ff
commit
fd2b445544
4
test/fixtures/taglib/scanned-tags/test-import-module/code-generator.js
vendored
Normal file
4
test/fixtures/taglib/scanned-tags/test-import-module/code-generator.js
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
module.exports = function(el, codegen) {
|
||||||
|
var fooVar = codegen.importModule('foo', './foo');
|
||||||
|
return codegen.builder.functionCall(fooVar, []);
|
||||||
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user