)]}'
{
  "commit": "12de8838924c8f14e803bf090da34fe0ef5de102",
  "tree": "9f628a5c14202c34fedf9633f5c66da9996dad0c",
  "parents": [
    "11e5e5d409e6c80617b3569199e404c8e4e44e06"
  ],
  "author": {
    "name": "Tom",
    "email": "tw201207@gmail.com",
    "time": "Fri Nov 14 22:14:28 2014 +0100"
  },
  "committer": {
    "name": "Tom",
    "email": "tw201207@gmail.com",
    "time": "Fri Nov 14 22:14:28 2014 +0100"
  },
  "message": "Javascript-based sliders styled with CSS\n\nThis works better for small images. The previous CSS-resize based\nattempt worked reasonably well, but had two problems on WebKit\n(Safari):\n\n1. For very small images the red resize handle would overlap the image\n   itself. In that case, the image became un-draggable as soon as the\n   opacity was reduced below 1.0.\n   \n2. Safari apparently doesn\u0027t send mousemove events during a CSS\n   resize, so the opacity was changed only on mouseup.\n   \nBoth observed on Safari 6.1.6 and 7.1. FF 33.1 had no problems.\n\nTherefore I\u0027ve switched to a Javascript slider. Since I didn\u0027t find\nany that was simple, did not require HTML 5, appeared to be well\nmaintained, had a bug tracker and not too many outstanding bug reports,\ndidn\u0027t pull in umpteen other dependencies, didn\u0027t suffer from feature\nbloat, was compatible with jQuery 1.7.1, and was freely licensed, I\nended up writing my own.\n\nimgdiff.js contains a small Javascript slider (only horizontal) that is\nstyled completely in CSS. It reports ratios in the range [0..1] and\nfires nice jQuery events \u0027slider:pos\u0027 on value changes. Base element\nis a plain div that is positioned. It\u0027s not a general-purpose do-it-all\nslider, but it\u0027s small, simple, and works for what we need it.\n\n(imgdiff.js also sets up the ese sliders on the diff pages.)",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1232e990d8729b8158efafeabd7cdee8b88baf45",
      "old_mode": 33188,
      "old_path": "src/main/java/com/gitblit/wicket/pages/ImageDiffHandler.java",
      "new_id": "52bf13b9d231aadba0c4f03d0c22bc1de07cfb76",
      "new_mode": 33188,
      "new_path": "src/main/java/com/gitblit/wicket/pages/ImageDiffHandler.java"
    },
    {
      "type": "modify",
      "old_id": "bfde435d787833dc14070cc84e32b2bdac7008d5",
      "old_mode": 33188,
      "old_path": "src/main/java/com/gitblit/wicket/pages/scripts/imgdiff.js",
      "new_id": "2b2f4f9fe6c302b86502dc93491ea91798a80574",
      "new_mode": 33188,
      "new_path": "src/main/java/com/gitblit/wicket/pages/scripts/imgdiff.js"
    },
    {
      "type": "modify",
      "old_id": "906b555b237b3d479ed9e26cd38e85e124b915b9",
      "old_mode": 33188,
      "old_path": "src/main/resources/gitblit.css",
      "new_id": "5a62de0b35df58630ab864987b0396bba15f8a7c",
      "new_mode": 33188,
      "new_path": "src/main/resources/gitblit.css"
    }
  ]
}
