From 58bf95248d052b8226529e047c42f0d50efe0f2a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 29 May 2014 03:09:51 -0400 Subject: [PATCH] feature(github) uploadFiles: change messge --- lib/client/storage/_github.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/client/storage/_github.js b/lib/client/storage/_github.js index 46b03b89..4576fa9d 100644 --- a/lib/client/storage/_github.js +++ b/lib/client/storage/_github.js @@ -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 };