home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 379636695

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/pull/181#issuecomment-379636695 https://api.github.com/repos/simonw/datasette/issues/181 379636695 MDEyOklzc3VlQ29tbWVudDM3OTYzNjY5NQ== 9599 2018-04-09T05:30:16Z 2018-04-09T05:30:16Z OWNER

I'd prefer to have the JavaScript actually manipulate the DOM to add the button - something like this:

var button = document.createElement('button');
button.value = 'Format SQL';
button.addEventListener(
    'click', format, false
);
document.getElementById('run-sql').parentNode.appendChild(button);
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
289425975  
Powered by Datasette · Queries took 0.867ms · About: github-to-sqlite