home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 683448569

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/issues/948#issuecomment-683448569 https://api.github.com/repos/simonw/datasette/issues/948 683448569 MDEyOklzc3VlQ29tbWVudDY4MzQ0ODU2OQ== 9599 2020-08-30T17:39:09Z 2020-08-30T18:34:34Z OWNER

So the steps needed are:

  • Download and extract latest CodeMirror zip file
  • Rename lib/codemirror.js to codemirror-5.57.0.js
  • Rename lib/codemirror.css to codemirror-5.57.0.css
  • Rename mode/sql/sql.js to codemirror-5.57.0-sql.js
  • Edit both JS files to make the top comment a /* */ block
  • Minify JavaScript files like this:
  • npx uglify-js codemirror-5.57.0.js -o codemirror-5.57.0.min.js --comments '/LICENSE/'
  • npx uglify-js codemirror-5.57.0-sql.js -o codemirror-5.57.0-sql.min.js --comments '/LICENSE/'
  • Check that the LICENSE comment did indeed survive minification
  • Minify CSS file like this:
  • npx clean-css-cli codemirror-5.57.0.css -o codemirror-5.57.0.min.css
  • Edit the _codemirror.html template to reference the new files
  • git rm the old files, git add the new files
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
684925907  
Powered by Datasette · Queries took 1.483ms · About: github-to-sqlite