Skip to content

Commit 6b0067b

Browse files
committed
Removal of the toString from the component definition, closes #30 and #33
1 parent f33d80f commit 6b0067b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ module.exports = function (content) {
2222
});
2323

2424
component = transpile(`var render = function () {${compiled.render}};`);
25-
component += `var toString = function () {return ${JSON.stringify(path)}};`;
26-
component += `module.exports = { render: render, toString: toString };`;
25+
component += `module.exports = { render: render };`;
2726

2827
cb(null, component);
2928
})

0 commit comments

Comments
 (0)