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

coachmarks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coachmarks - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

docs/.vuepress/config.js

@@ -7,3 +7,3 @@ module.exports = {

head: [
['script', { src: 'https://rawgit.com/onboardist/coachmarks/1.2.1/dist/coachmarks.min.js'} ]
['script', { src: 'https://cdn.rawgit.com/onboardist/coachmarks/v1.3.1/dist/coachmarks.umd.min.js'} ]
],

@@ -10,0 +10,0 @@

@@ -8,3 +8,3 @@ ---

- title: Do-One-Thing-Well
details:
details: Coachmarks gives you an API to render helpful text and arrows that point to elements on your page. That's it; no cruft.
- title: Vanilla JS

@@ -15,2 +15,3 @@ details: Built with Svelte.js so everything is compiled into straight JavaScript. Use it in every framework, or no framework!

footer: GPLv3 Licensed | Copyright © 2018-present Brian Hann | Curved arrow by Andres Vrant from the Noun Project
pageClass: myhome
---
{
"name": "coachmarks",
"version": "1.3.0",
"version": "1.3.1",
"description": "On-board new users to your app and introduce new features with SVG sketches (coachmarks)",

@@ -5,0 +5,0 @@ "source": "src/index.js",

@@ -65,2 +65,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update -->

- [ ] Clean up readme
- [ ] Make `coachmarks.show()` return a promise
- [x] Remove extraneous packages that are no longer needed now that we're doing leader-line for arrows

@@ -67,0 +68,0 @@ - [x] Change to hand-drawn font

@@ -208,18 +208,2 @@ 'use strict';

function elementRect(node, offsetParent) {
if (offsetParent === true) offsetParent = node.offsetParent;
const rect = node.getBoundingClientRect();
const prect = offsetParent ?
offsetParent.getBoundingClientRect() :
{ left: 0, top: 0 };
return {
left: rect.left - prect.left,
top: rect.top - prect.top,
width: rect.width,
height: rect.height,
};
}
/* NOTE: not in use currently

@@ -226,0 +210,0 @@ function intersectionEdge(point, rect) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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