From 31da89380a4d84b248e8a16c7f6eaefcafd39d40 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Sun, 18 Nov 2012 21:10:49 +0100 Subject: [PATCH] implement auth timeout --- lib/travis/api/app/endpoint/authorization.rb | 47 +++++++++++++++++--- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/lib/travis/api/app/endpoint/authorization.rb b/lib/travis/api/app/endpoint/authorization.rb index 205418af..d5347ee3 100644 --- a/lib/travis/api/app/endpoint/authorization.rb +++ b/lib/travis/api/app/endpoint/authorization.rb @@ -104,7 +104,7 @@ class Travis::Api::App # Example usage: # # window.addEventListener("message", function(event) { - # alert("received token: " + event.data.token); + # console.log("received token: " + event.data.token); # }); # # var iframe = $('