diff options
Diffstat (limited to 'github.js')
| -rw-r--r-- | github.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,7 +131,7 @@ GitHubBackend.prototype.login = function ( } }; -GitHubBackend.prototype.saveProject = function (ide, callBack, errorCall) { +GitHubBackend.prototype.saveProject = function (commitMessage, ide, callBack, errorCall) { var myself = this, pdata, media; @@ -191,7 +191,7 @@ GitHubBackend.prototype.saveProject = function (ide, callBack, errorCall) { if (myself.gh !== null) { var repo = myself.gh.getRepo(myself.username, ide.projectName); var branch = repo.getBranch(); // master (default) - var message = ''; // TODO optional: specify message + var message = commitMessage; var contents = { 'snap.xml': pdata, |
