Commit c8061912 authored by cbruni's avatar cbruni Committed by Commit bot

[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}
parent 576296ac
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment