jsmart
jsmart copied to clipboard
Demo page doesn't work out of the box
https://jsfiddle.net/miroshnikov/6tfz9p3z/1/
This line (27) doesn't work:
var res = document.getElementById('test_tpl').innerHTML.fetch(data);
In console:
VM78:75 Uncaught TypeError: document.getElementById(...).innerHTML.fetch is not a function
at window.onload (VM78:75)
When commented out, the demo works. Browser: Chrome Version 60.0.3112.101 (Official Build) (64-bit)