work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/class-with-dep.11ty.js

18 lines
277 B
JavaScript

const Dep = require("./class-with-dep-upstream.js");
class Test {
returnsBill() {
return "Bill";
}
static returnsTed() {
return "Ted";
}
render({ name }) {
return `<p>${name}${this.returnsBill()}${Test.returnsTed()}</p>`;
}
}
module.exports = Test;