New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ep_comments_page

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_comments_page - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"description": "Adds comments on sidebar and link it to the text. Support for Page View, requires ep_page_view",
"description": "Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.",
"name": "ep_comments_page",
"version": "0.1.1",
"version": "0.1.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Nicolas Lescop",

@@ -78,2 +78,3 @@ // Easier access to outter pad

if (editorComment) {
targetLeft += padInner.offset().left;
targetTop += parseInt(padInner.css('padding-top').split('px')[0])

@@ -80,0 +81,0 @@ targetTop += parseInt(padOuter.find('#outerdocbody').css('padding-top').split('px')[0])

@@ -549,2 +549,3 @@ /* TODO:

var commentId = reply.commentId;
if (commentId) {
// tell comment icon that this comment has 1+ replies

@@ -566,2 +567,3 @@ commentIcons.commentHasReply(commentId);

repliesContainer.append(content);
}
});

@@ -1208,2 +1210,3 @@ };

aceEditEvent: function(hook, context){
if(!pad.plugins) pad.plugins = {};
// first check if some text is being marked/unmarked to add comment to it

@@ -1210,0 +1213,0 @@ var eventType = context.callstack.editEvent.eventType;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc