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

tether

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tether - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

2

bower.json
{
"name": "tether",
"version": "1.3.7",
"version": "1.3.8",
"homepage": "http://github.hubspot.com/tether",

@@ -5,0 +5,0 @@ "authors": [

{
"name": "tether",
"repo": "HubSpot/tether",
"version": "1.3.7",
"version": "1.3.8",
"description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.",

@@ -6,0 +6,0 @@ "authors": [

@@ -1,2 +0,2 @@

/*! tether 1.3.7 */
/*! tether 1.3.8 */

@@ -111,3 +111,3 @@ (function(root, factory) {

var node = zeroElement;
if (!node) {
if (!node || !document.body.contains(node)) {
node = document.createElement('div');

@@ -114,0 +114,0 @@ node.setAttribute('data-tether-id', uniqueId());

{
"name": "tether",
"version": "1.3.7",
"version": "1.3.8",
"description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.",

@@ -5,0 +5,0 @@ "authors": [

@@ -10,3 +10,3 @@ ## Tether

Some common UI elements that have been built with Tether are [tooltips](http://github.hubspot.com/tooltip/docs/welcome), [select menus](http://github.hubspot.com/select/docs/welcome), [dropdown menus](http://github.hubspot.com/drop/docs/welcome), and [guided tours](http://github.hubspot.com/shepherd/docs/welcome). Tether is flexible and can be used to [solve](http://github.hubspot.com/tether/examples/out-of-bounds/) [all](http://github.hubspot.com/tether/examples/content-visible) [kinds](http://github.hubspot.com/tether/examples/element-scroll) [of](http://github.hubspot.com/tether/examples/enable-disable) [interesting]() [problems](http://github.hubspot.com/tether/examples/viewport); it ensures UI elements stay where they need to be, based on the various user interactions (click, scroll, etc) and layout contexts (fixed positioning, inside scrollable containers, etc).
Some common UI elements that have been built with Tether are [tooltips](http://github.hubspot.com/tooltip/docs/welcome), [select menus](http://github.hubspot.com/select/docs/welcome), [dropdown menus](http://github.hubspot.com/drop/docs/welcome), and [guided tours](http://github.hubspot.com/shepherd/docs/welcome). Tether is flexible and can be used to [solve](http://github.hubspot.com/tether/examples/out-of-bounds/) [all](http://github.hubspot.com/tether/examples/content-visible) [kinds](http://github.hubspot.com/tether/examples/element-scroll) [of](http://github.hubspot.com/tether/examples/enable-disable) interesting [problems](http://github.hubspot.com/tether/examples/viewport); it ensures UI elements stay where they need to be, based on the various user interactions (click, scroll, etc) and layout contexts (fixed positioning, inside scrollable containers, etc).

@@ -13,0 +13,0 @@ Please have a look at the [documentation](http://github.hubspot.com/tether/) for a more detailed explanation of why you might need Tether for your next project.

@@ -87,3 +87,3 @@ let TetherBase;

let node = zeroElement;
if (!node) {
if (!node || !document.body.contains(node)) {
node = document.createElement('div');

@@ -90,0 +90,0 @@ node.setAttribute('data-tether-id', uniqueId());

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