dnscontrol/pkg/js/parse_tests/complexImports/b/b.js
Tom Limoncelli 061ea63322
require() should handle paths as relative (like nodeJS) (#443)
* Integrate @nlowe's documentation and tests
* Use filepath.Clean() instead of filepath.Abs()
* Use a stackless implementation
2019-01-29 10:29:00 -05:00

8 lines
No EOL
143 B
JavaScript

require('pkg/js/parse_tests/complexImports/b/d/d.js');
function b() {
return [
d(),
CNAME("B", "foo.com.")
];
}