feature(github) uploadFiles: change messge

This commit is contained in:
coderaiser 2014-05-29 03:09:51 -04:00
parent 45cc2bd967
commit 58bf95248d

View file

@ -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
};