Remove committed console.log's

上级 596e53e2
...@@ -77,7 +77,6 @@ import Cookies from 'js-cookie'; ...@@ -77,7 +77,6 @@ import Cookies from 'js-cookie';
}, },
dataType: "json" dataType: "json"
}).done(function(refs) { }).done(function(refs) {
console.log(refs);
return callback(refs); return callback(refs);
}); });
}, },
......
...@@ -28,8 +28,6 @@ const RepoCommitSection = { ...@@ -28,8 +28,6 @@ const RepoCommitSection = {
Api.commitMultiple(Store.projectId, payload, (data) => { Api.commitMultiple(Store.projectId, payload, (data) => {
Store.submitCommitsLoading = false; Store.submitCommitsLoading = false;
Flash(`Your changes have been committed. Commit ${data.short_id} with ${data.stats.additions} additions, ${data.stats.deletions} deletions.`, 'notice'); Flash(`Your changes have been committed. Commit ${data.short_id} with ${data.stats.additions} additions, ${data.stats.deletions} deletions.`, 'notice');
console.log('this.changedFiles', this.changedFiles);
console.log('this.files', this.files);
this.changedFiles = []; this.changedFiles = [];
this.openedFiles = []; this.openedFiles = [];
this.commitMessage = ''; this.commitMessage = '';
......
...@@ -65,7 +65,6 @@ const RepoEditor = { ...@@ -65,7 +65,6 @@ const RepoEditor = {
}, },
editMode() { editMode() {
console.log('edit mode changed');
const readOnly = !this.editMode; const readOnly = !this.editMode;
Store.readOnly = readOnly; Store.readOnly = readOnly;
......
...@@ -135,7 +135,6 @@ const RepoHelper = { ...@@ -135,7 +135,6 @@ const RepoHelper = {
getContent(treeOrFile, cb) { getContent(treeOrFile, cb) {
let file = treeOrFile; let file = treeOrFile;
console.log('file', file);
// const loadingData = RepoHelper.setLoading(true); // const loadingData = RepoHelper.setLoading(true);
return Service.getContent() return Service.getContent()
.then((response) => { .then((response) => {
......
...@@ -143,7 +143,6 @@ const RepoStore = { ...@@ -143,7 +143,6 @@ const RepoStore = {
// now activate the right tab based on what you closed. // now activate the right tab based on what you closed.
if (RepoStore.openedFiles.length === 0) { if (RepoStore.openedFiles.length === 0) {
console.log('open 0');
RepoStore.activeFile = {}; RepoStore.activeFile = {};
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册