Skip to content

Commit

Permalink
fix an issue with an example
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarriou committed Jul 28, 2018
1 parent 4d4123e commit 688f99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/classes/JSON-class.json
Expand Up @@ -286,7 +286,7 @@
"component": "Template",
"state": "render",
"action":
"function render(elt) { \n const html = this.source(),\n domNode = elt;\n \n if (html) {\n if (domNode === null) {\n domNode = document.body;\n }\n \n domNode.insertAdjacentHTML('beforeend', html);\n }\n}",
"function render(elt) { \n let html = this.source(),\n domNode = elt;\n \n if (html) {\n if (domNode === null) {\n domNode = document.body;\n }\n \n domNode.insertAdjacentHTML('beforeend', html);\n }\n}",
"useCoreAPI": false,
"core": false
},
Expand Down

0 comments on commit 688f99e

Please sign in to comment.