mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactored
This commit is contained in:
parent
85653ab09a
commit
2ae8b8a040
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