forked from cory/tildefriends
Progress toward viewing user profile pages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3737 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -103,7 +103,6 @@ function trace() {
|
||||
request.addEventListener("loadend", function() {
|
||||
if (request.status == 200) {
|
||||
/* The trace is loaded. */
|
||||
console.log(typeof(request.response));
|
||||
var perfetto = window.open('/perfetto/');
|
||||
var done = false;
|
||||
if (perfetto) {
|
||||
@ -589,6 +588,8 @@ function message(event) {
|
||||
var iframe = document.getElementById("iframe_" + event.data.name);
|
||||
iframe.setAttribute("width", event.data.width);
|
||||
iframe.setAttribute("height", event.data.height);
|
||||
} else if (event.data && event.data.action == "setHash") {
|
||||
window.location.hash = event.data.hash;
|
||||
} else {
|
||||
send({event: "message", message: event.data});
|
||||
}
|
||||
|
Reference in New Issue
Block a user