mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(github) uploadFiles: change messge
This commit is contained in:
parent
45cc2bd967
commit
58bf95248d
1 changed files with 4 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ var CloudCmd, Util, DOM, CloudFunc, Github, cb;
|
|||
* function creates gist
|
||||
*/
|
||||
GitHub.uploadFile = function(params, callback) {
|
||||
var gist, files, host, options,
|
||||
var gist, files, options,
|
||||
content = params.data,
|
||||
name = params.name;
|
||||
|
||||
|
|
@ -134,11 +134,10 @@ var CloudCmd, Util, DOM, CloudFunc, Github, cb;
|
|||
if (!name)
|
||||
name = Util.getDate();
|
||||
|
||||
gist = GH.getGist(),
|
||||
files = {},
|
||||
host = CloudCmd.HOST,
|
||||
gist = GH.getGist();
|
||||
files = {};
|
||||
options = {
|
||||
description: 'Uplouded by Cloud Commander from ' + host,
|
||||
description: 'Uplouded by http://cloudcmd.io',
|
||||
public: true
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue