mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
added link to google api client docs
This commit is contained in:
parent
cf00f4f6c7
commit
3e3e6dc97c
2 changed files with 3 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
"dropbox_secret" : "r61lxpchmk8l06o",
|
||||
"dropbox_encoded_key" : "DkMz4FYHQTA=|GW6pf2dONkrGvckMwBsl1V1vysrCPktPiUWN7UpDjw==",
|
||||
"dropbox_chooser_key" : "o7d6llji052vijk",
|
||||
"gdrive_key" : "255175681917",
|
||||
"gdrive_id" : "255175681917",
|
||||
"logs" : false,
|
||||
"show_keys_panel" : true,
|
||||
"server" : true,
|
||||
|
|
|
|||
|
|
@ -12,12 +12,13 @@ var CloudCommander, Util, DOM, gapi;
|
|||
* load google api library
|
||||
*/
|
||||
function load(pCallBack){
|
||||
/* https://code.google.com/p/google-api-javascript-client/ */
|
||||
var lUrl = 'https://apis.google.com/js/client.js';
|
||||
|
||||
DOM.jsload(lUrl, function(){
|
||||
CloudCmd.getConfig(function(pConfig){
|
||||
/* https://developers.google.com/drive/credentials */
|
||||
var lCLIENT_ID = pConfig.gdrive_key + '.apps.googleusercontent.com',
|
||||
var lCLIENT_ID = pConfig.gdrive_id + '.apps.googleusercontent.com',
|
||||
lSCOPES = 'https://www.googleapis.com/auth/drive',
|
||||
|
||||
lParams = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue