refactored

This commit is contained in:
coderaiser 2013-01-28 05:35:40 -05:00
parent 67e32118d9
commit a537c56e46
9 changed files with 57 additions and 68 deletions

View file

@ -5,11 +5,13 @@
<script>
(function(){
"use strict";
if(window.opener){
var cloudcmd = window.opener.CloudCommander;
cloudcmd.getConfig(function(pConfig){
var GitHub_ID = pConfig.github_key;
var lGitHub = pConfig.github,
GitHub_ID = lGitHub && lGitHub.key;
window.location =
'https://github.com/login/oauth/authorize?client_id=' +