Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ep_cursortrace

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_cursortrace - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

2

package.json
{
"name": "ep_cursortrace",
"description": "Show cursor/caret movements of other users in real time",
"version": "3.0.4",
"version": "3.0.5",
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>",

@@ -6,0 +6,0 @@ "repository":"git@github.com:redhog/ep_cursortrace.git",

@@ -109,5 +109,5 @@ var initiated = false;

var authorName = decodeURI(escape(context.payload.authorName));
var authorName = context.payload.authorName;
if(authorName == "null"){
var authorName = "&#9785;" // If the users username isn't set then display a smiley face
var authorName = "😊" // If the users username isn't set then display a smiley face
}

@@ -237,3 +237,4 @@ var y = context.payload.locationY + 1; // +1 as Etherpad line numbers start at 1

// Create a new Div for this author
var $indicator = $("<div class='caretindicator "+ location+ " caret-"+authorClass+"' style='height:16px;left:"+left+"px;top:"+top +"px;background-color:"+color+"' title="+authorName+"><p class='stickp "+location+"'></p></div>");
var $indicator = $("<div class='caretindicator "+ location+ " caret-"+authorClass+"' style='height:16px;left:"+left+"px;top:"+top +"px;background-color:"+color+"'><p class='stickp "+location+"'></p></div>");
$indicator.attr("title", authorName);
$indicator.find("p").text(authorName);

@@ -240,0 +241,0 @@ $(outBody).append($indicator);

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