{"push_id":1065211833,"size":2,"distinct_size":2,"ref":"refs/heads/4.x","head":"cd66a0022a52dbfab86106925eb9aea306ecee50","before":"f0655dadbdf1208c2c155bcf8872dab1098dc586","commits":[{"sha":"b4e3167bf77aa3b2abb7d01047d84be73ab28cae","author":{"email":"21304eff491bcf7944100c58dcf1c122a59735e8@epixa.com","name":"Court Ewing"},"message":"Backport PR #6881\n---------\n\n**Commit 1:**\n[internal] Replace var with let in root of ui/public\n\nThis change was applied only to files in the root of the src/ui/public\ndirectory.\n\nThis was an automatic replacement from var to let for any variable\ndeclaration that doubles as the initial assignment. Ultimately we want\nmost of these to be converted to const, but this commit is so large that\nit warrants breaking each step of automation up into its own commit.\n\nFor example:\n\n`var foo = 'bar';` becomes `let foo = 'var';`\n\nThis was accomplished by replacing:\nfind: `var ([a-zA-Z_$][0-9a-zA-Z_$]*)(\\s+)=`\nreplace: `let $1$2=`\n\n* Original sha: 469c0bde048463e838d9df28d376d89ade79b5be\n* Authored by Court Ewing <court@epixa.com> on 2016-04-12T21:38:58Z\n\n**Commit 2:**\n[internal] Replace let with const in root of ui/public\n\nThis change was applied only to files in the root of the src/ui/public\ndirectory.\n\nAll instances of `let` were replaced with `const`, and then any instance\nthat flagged the `no-const-assign` rule in the linter was put back.\n\n* Original sha: 3ae090908d2e62a0a6482a7afcbc4ba46914eeac\n* Authored by Court Ewing <court@epixa.com> on 2016-04-12T21:45:32Z","distinct":true,"url":"https://api.github.com/repos/elastic/kibana/commits/b4e3167bf77aa3b2abb7d01047d84be73ab28cae"},{"sha":"cd66a0022a52dbfab86106925eb9aea306ecee50","author":{"email":"21304eff491bcf7944100c58dcf1c122a59735e8@epixa.com","name":"Court Ewing"},"message":"Merge pull request #6904 from elastic/jasper/backport/6881/4.x\n\n[backport] PR #6881 to 4.x","distinct":true,"url":"https://api.github.com/repos/elastic/kibana/commits/cd66a0022a52dbfab86106925eb9aea306ecee50"}]}