Unfortunately code
< script src="https://cdn.steemjs.com/lib/steem.min.js">
</ script>
< script>
steem.api.getState('/trends/funny', function(err, result) {
console.log(err, result);
});
</ script>
Doesn't work:
(index):22 Uncaught TypeError: Cannot read property 'getState' of undefined(anonymous function) @ (index):22