mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-29 12:42:16 -05:00
Remove dev debug logs
This commit is contained in:
parent
a137eb3d75
commit
c722b4b1ec
@ -6,7 +6,6 @@ var StrictModel = require('strictmodel').Model;
|
|||||||
|
|
||||||
module.exports = StrictModel.extend({
|
module.exports = StrictModel.extend({
|
||||||
initialize: function (attrs) {
|
initialize: function (attrs) {
|
||||||
console.log(attrs);
|
|
||||||
this._created = Date.now();
|
this._created = Date.now();
|
||||||
},
|
},
|
||||||
type: 'message',
|
type: 'message',
|
||||||
|
@ -34,7 +34,6 @@ module.exports = BasePage.extend({
|
|||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
killForm: function (e) {
|
killForm: function (e) {
|
||||||
console.log('kill form', e);
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
@ -67,7 +66,6 @@ module.exports = BasePage.extend({
|
|||||||
body: val,
|
body: val,
|
||||||
chatState: 'active'
|
chatState: 'active'
|
||||||
};
|
};
|
||||||
console.log(this.editMode);
|
|
||||||
if (this.editMode) {
|
if (this.editMode) {
|
||||||
message.replace = this.model.lastSentMessage.id;
|
message.replace = this.model.lastSentMessage.id;
|
||||||
}
|
}
|
||||||
@ -76,8 +74,6 @@ module.exports = BasePage.extend({
|
|||||||
message.id = id;
|
message.id = id;
|
||||||
message.from = me.jid;
|
message.from = me.jid;
|
||||||
|
|
||||||
console.log(message);
|
|
||||||
console.log(this.editMode);
|
|
||||||
if (this.editMode) {
|
if (this.editMode) {
|
||||||
this.model.lastSentMessage.correct(message);
|
this.model.lastSentMessage.correct(message);
|
||||||
} else {
|
} else {
|
||||||
|
@ -31,7 +31,6 @@ module.exports = StrictView.extend({
|
|||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
goChat: function () {
|
goChat: function () {
|
||||||
console.log('event?');
|
|
||||||
app.navigate('chat/' + this.model.jid);
|
app.navigate('chat/' + this.model.jid);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user