ep_comments_page
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"description": "Adds comments on sidebar and link it to the text. Support for Page View, requires ep_page_view", | ||
"name": "ep_comments_page", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Nicolas Lescop", |
@@ -92,3 +92,3 @@ var _, $, jQuery; | ||
// Append the reply to the comment | ||
console.warn("addCommentReplyEmit WE EXPECT REPLY ID", data); | ||
// console.warn("addCommentReplyEmit WE EXPECT REPLY ID", data); | ||
$('iframe[name="ace_outer"]').contents().find('#'+data.commentId + ' > .comment-reply > .comment-reply-input').val(""); | ||
@@ -210,3 +210,3 @@ self.getCommentReplies(function(replies){ | ||
ep_comments.prototype.collectCommentReplies = function(callback){ | ||
console.warn("collectCommentReplies", this.commentReplies); | ||
// console.warn("collectCommentReplies", this.commentReplies); | ||
var self = this; | ||
@@ -285,3 +285,3 @@ var container = this.container; | ||
var rep = ace.ace_getRep(); | ||
console.log("rep", rep); // doesn't fire twice | ||
// console.log("rep", rep); // doesn't fire twice | ||
var line = rep.lines.atIndex(rep.selStart[0]); | ||
@@ -442,3 +442,3 @@ var key = "#"+line.key; | ||
socket.on('pushAddCommentReply', function (replyId, reply){ | ||
console.warn("pAcR response", replyId, reply); | ||
// console.warn("pAcR response", replyId, reply); | ||
// callback(replyId, reply); | ||
@@ -445,0 +445,0 @@ // self.collectCommentReplies(); |
39874