mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactored
This commit is contained in:
parent
67e32118d9
commit
a537c56e46
9 changed files with 57 additions and 68 deletions
|
|
@ -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=' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue