)]}'
{
  "commit": "767e6bfc028f438b4a1234ad6179aaba78a8b11e",
  "tree": "40c72f8a8792758c9622d9f6de9087f57cff8e53",
  "parents": [
    "56ebd4f7a2bf27f89aa11245ff77f7eefcf4a7d6"
  ],
  "author": {
    "name": "Dmitrii Filippov",
    "email": "dmfilippov@google.com",
    "time": "Tue Aug 13 15:18:32 2019 +0200"
  },
  "committer": {
    "name": "Dmitrii Filippov",
    "email": "dmfilippov@google.com",
    "time": "Fri Aug 16 10:48:59 2019 +0200"
  },
  "message": "Compatibility fix for Polymer 2\n\nPolymer 2 uses shadow dom. Before the fix all styles were loaded as a\ndocument-level styles. To load styles inside correct element this fix\nlogically separates plugin in 2 parts: gr-editor and codemirror-element.\nThe codemirror-element is a wrapper for codemirror and it incapsulates all\nstyles and scripts inside the element. gr-editor connects codemirror-element\nwith gerrit - it dynamically loads codemirror-element, set correct\noptions and adds event listeners.\nAlso, codemirror doesn\u0027t work with shadydom correctly. Because of it,\nthere 2 versions of codemirror-element - one is for shadowdom and antoher one\nis for shadydom.\n\nBug: Issue 11143\nChange-Id: I304cc73df1ea9a5c59fe295fe50c817ed266ffc2\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "feed56a9823fe75940fa9b2ae5f7f19251b4b043",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "8d41ceed239865f004b99486a80b7350f6f43271",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "copy",
      "old_id": "bf73d6f3b16d81a7ff5806c00ad53b46f63d6fc8",
      "old_mode": 33188,
      "old_path": "gr-editor/codemirror-assets.html",
      "new_id": "cd0f2e6d91831bdb1a795e08252b17bdb1555596",
      "new_mode": 33188,
      "new_path": "gr-editor/codemirror-element-shadowdom.html",
      "score": 68
    },
    {
      "type": "rename",
      "old_id": "bf73d6f3b16d81a7ff5806c00ad53b46f63d6fc8",
      "old_mode": 33188,
      "old_path": "gr-editor/codemirror-assets.html",
      "new_id": "c159ea6d7ea6478c81100335a8df42cfffaaca20",
      "new_mode": 33188,
      "new_path": "gr-editor/codemirror-element-shadydom.html",
      "score": 94
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "06c5cdaa30c7001976e29f94ec53e51fe21149ee",
      "new_mode": 33188,
      "new_path": "gr-editor/codemirror-element.css"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "65182d86ab8a26cb69eb699f2f5bebe74254faa4",
      "new_mode": 33188,
      "new_path": "gr-editor/codemirror-element.js"
    },
    {
      "type": "modify",
      "old_id": "b7b2cc98e5175824248d3d3ef98f41521aa76566",
      "old_mode": 33188,
      "old_path": "gr-editor/gr-editor.html",
      "new_id": "74d01a84d75d4dbf7a30cd71720758de24286510",
      "new_mode": 33188,
      "new_path": "gr-editor/gr-editor.html"
    },
    {
      "type": "modify",
      "old_id": "ad88d9e3865cc16b75023f177bfb5588f46df0a4",
      "old_mode": 33188,
      "old_path": "gr-editor/gr-editor.js",
      "new_id": "ee2f4557501c6262fd8de30dd6674ab67eb3ab46",
      "new_mode": 33188,
      "new_path": "gr-editor/gr-editor.js"
    },
    {
      "type": "modify",
      "old_id": "8af7c69ca5feceef8d36b833f150ab938f46ab9f",
      "old_mode": 33188,
      "old_path": "gr-editor/gr-editor_test.html",
      "new_id": "474aa600e9d4394aeacf40477833a440b018e3d4",
      "new_mode": 33188,
      "new_path": "gr-editor/gr-editor_test.html"
    }
  ]
}
