# HG changeset patch # User Atul Varma # Date 1277610707 25200 # Node ID 18de6b362cc5596248995f6726066cc85ef99e2b # Parent d5efcc6476d952e65e82ab438bdbd976617de46d made server.html and fixed example-client.html to work with it instead of index.html. diff -r d5efcc6476d9 -r 18de6b362cc5 static-files/api.js --- a/static-files/api.js Sat Jun 26 20:42:06 2010 -0700 +++ b/static-files/api.js Sat Jun 26 20:51:47 2010 -0700 @@ -84,6 +84,8 @@ if (!path) path = "/"; + path += "server.html"; + iframe.src = origin + path; iframe.onload = function() { diff -r d5efcc6476d9 -r 18de6b362cc5 static-files/example-client.html --- a/static-files/example-client.html Sat Jun 26 20:42:06 2010 -0700 +++ b/static-files/example-client.html Sat Jun 26 20:51:47 2010 -0700 @@ -28,7 +28,7 @@ $("#error .reason").text(response.error); $("#error").slideDown(); } else { - $("#users").text(JSON.stringify(response.users)); + $("#users").text(JSON.stringify(response.users, null, 2)); } }); }); diff -r d5efcc6476d9 -r 18de6b362cc5 static-files/server.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/static-files/server.html Sat Jun 26 20:51:47 2010 -0700 @@ -0,0 +1,13 @@ + + + + Mozilla Summit Identity Pal PostMessage Server + + +

You should never really see this page, it's meant to be embedded as +an invisible iframe in mashups and web apps.

+ + + + +