mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-25 18:52:20 -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({
|
||||
initialize: function (attrs) {
|
||||
console.log(attrs);
|
||||
this._created = Date.now();
|
||||
},
|
||||
type: 'message',
|
||||
|
@ -34,7 +34,6 @@ module.exports = BasePage.extend({
|
||||
return this;
|
||||
},
|
||||
killForm: function (e) {
|
||||
console.log('kill form', e);
|
||||
e.preventDefault();
|
||||
return false;
|
||||
},
|
||||
@ -67,7 +66,6 @@ module.exports = BasePage.extend({
|
||||
body: val,
|
||||
chatState: 'active'
|
||||
};
|
||||
console.log(this.editMode);
|
||||
if (this.editMode) {
|
||||
message.replace = this.model.lastSentMessage.id;
|
||||
}
|
||||
@ -76,8 +74,6 @@ module.exports = BasePage.extend({
|
||||
message.id = id;
|
||||
message.from = me.jid;
|
||||
|
||||
console.log(message);
|
||||
console.log(this.editMode);
|
||||
if (this.editMode) {
|
||||
this.model.lastSentMessage.correct(message);
|
||||
} else {
|
||||
|
@ -31,7 +31,6 @@ module.exports = StrictView.extend({
|
||||
return this;
|
||||
},
|
||||
goChat: function () {
|
||||
console.log('event?');
|
||||
app.navigate('chat/' + this.model.jid);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user