mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-12-15 08:49:04 +00:00
update
This commit is contained in:
18
node_modules/@11ty/eleventy/test/stubs/oneinstance.11ty.js
generated
vendored
Normal file
18
node_modules/@11ty/eleventy/test/stubs/oneinstance.11ty.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
class Test {
|
||||
constructor() {
|
||||
this.rand = Math.random();
|
||||
}
|
||||
|
||||
get data() {
|
||||
return {
|
||||
name: "Ted",
|
||||
rand: this.rand
|
||||
};
|
||||
}
|
||||
|
||||
render({ name }) {
|
||||
return `<p>${name}${this.rand}</p>`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Test;
|
||||
Reference in New Issue
Block a user