You are viewing a single comment's thread from:

RE: SteemJS: Now the package available on client side!

in #steemjs8 years ago

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