[tools] Initialize global pages var in callstats.html
R=machenbach@chromium.org NOTRY=true BUG=chromium:611010 Review-Url: https://codereview.chromium.org/2391843003 Cr-Commit-Position: refs/heads/master@{#39958}
This commit is contained in:
parent
576296ac7a
commit
c80619129d
@ -1043,11 +1043,11 @@ code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
}
|
||||
|
||||
function handleLoadText(text) {
|
||||
pages = new Pages();
|
||||
handleLoadJSON(JSON.parse(text));
|
||||
}
|
||||
|
||||
function handleLoadJSON(json) {
|
||||
pages = new Pages();
|
||||
versions = Versions.fromJSON(json);
|
||||
initialize()
|
||||
showPage(versions.versions[0].pages[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user