Skip to content

Commit

Permalink
[feat]: update
Browse files Browse the repository at this point in the history
  • Loading branch information
pizn committed Jan 19, 2016
1 parent ef50f65 commit 249c938
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EEVEE - 伊布

[![Build Status](https://travis-ci.org/pizn/leafeon.svg?branch=master)](https://travis-ci.org/pizn/leafeon)
[![Build Status](https://travis-ci.org/pizn/eevee.svg?branch=master)](https://travis-ci.org/pizn/eevee)

基于 Github Page 的在线编辑平台,让你更加专注于内容的编写.

Expand Down
2 changes: 1 addition & 1 deletion src/components/Post/Editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Editor extends Component {
const start_time = new Date();
let rawMarkup = marked(this._currentCodemirrorValue);
this.previewMarkup = rawMarkup;
console.info('[Leafeon] 渲染预览消耗 %s ms', new Date() - start_time);
console.info('[log] 渲染预览消耗 %s ms', new Date() - start_time);
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/containers/Post.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Post extends Component {

handleSaveMeta(data) {
if (data === this.state.head) {
console.log('leafeon: 没有修改');
console.log('[log]: 没有修改');
return false;
}
this.setState({
Expand All @@ -90,7 +90,7 @@ class Post extends Component {

handleSaveCnt(data) {
if (data === this.state.body) {
console.log('leafeon: 没有修改');
console.log('[log]: 没有修改');
return false;
}

Expand All @@ -106,7 +106,7 @@ class Post extends Component {
const { blob, dispatch, user, repoInfo, params } = this.props;

if (blob.updating) {
console.log('[leafeon]: 文档正在保存...');
console.log('[log]: 文档正在保存...');
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/services/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Repo = {
}

return new Promise((resolve, reject) => {
repo.write('master', data.path, data.content, '[Leafeon]: Add post', options, (err, file) => {
repo.write('master', data.path, data.content, '[log]: Add post', options, (err, file) => {
if (err) {
reject(err);
} else {
Expand Down Expand Up @@ -111,7 +111,7 @@ const Repo = {
committer: {name: data.username, email: data.email},
}
return new Promise((resolve, reject) => {
repo.write('master', data.path, data.content, '[Leafeon]: Update post', options, (err, file) => {
repo.write('master', data.path, data.content, '[log]: Update post', options, (err, file) => {
if (err) {
reject(err);
} else {
Expand Down

0 comments on commit 249c938

Please sign in to comment.