KEYCLOAK-477

Remove keycloak.js debug statements
This commit is contained in:
Stian Thorgersen 2014-05-21 09:39:02 +01:00
parent 64a36aee03
commit 11fc6d5321

View file

@ -532,7 +532,6 @@ var Keycloak = function (config) {
} }
var src = getRealmUrl() + '/login-status-iframe.html?client_id=' + encodeURIComponent(kc.clientId); var src = getRealmUrl() + '/login-status-iframe.html?client_id=' + encodeURIComponent(kc.clientId);
console.log('iframe src='+ src);
iframe.setAttribute('src', src ); iframe.setAttribute('src', src );
iframe.style.display = 'none'; iframe.style.display = 'none';
document.body.appendChild(iframe); document.body.appendChild(iframe);
@ -571,7 +570,6 @@ var Keycloak = function (config) {
msg.callbackId = createCallbackId(); msg.callbackId = createCallbackId();
loginIframe.callbackMap[msg.callbackId] = promise; loginIframe.callbackMap[msg.callbackId] = promise;
var origin = loginIframe.iframeOrigin; var origin = loginIframe.iframeOrigin;
console.log('*** origin: ' + origin);
loginIframe.iframe.contentWindow.postMessage(msg, origin); loginIframe.iframe.contentWindow.postMessage(msg, origin);
} else { } else {
promise.setSuccess(); promise.setSuccess();
@ -612,8 +610,6 @@ var Keycloak = function (config) {
} }
if (type == 'cordova') { if (type == 'cordova') {
console.debug('Enabling Cordova support');
return { return {
login: function(options) { login: function(options) {
var promise = createPromise(); var promise = createPromise();