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

angular-stackables

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-stackables - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

2

bower.json
{
"name": "angular-stackables",
"version": "0.0.20",
"version": "0.0.21",
"description": "AngularJS stackable widgets built on HTML5 dialog.",

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

{
"name": "angular-stackables",
"version": "0.0.20",
"version": "0.0.21",
"dependencies": {}
}

@@ -44,3 +44,7 @@ /*!

var parentDialog = element.parent().closest('dialog');
if(parentDialog.length > 0) {
if(parentDialog.length === 0) {
// no dialog parent; move dialog to body to simplify z-indexing
body.append(dialog);
} else {
// ensure element is above parent dialog
var zIndex = parentDialog.css('z-index');

@@ -53,10 +57,10 @@ var zIndexInt = parseInt(zIndex, 10);

// ensure child dialog is a direct descendant of parent (should work
// for both native modal <dialog> which will only show the child on top
// if it is not moved to the body and for polyfill which relies on
// z-index contexts)
parentDialog.append(dialog);
} else {
// no dialog parent; move dialog to body to simplify z-indexing
body.append(dialog);
// ensure child dialog is a direct descendant of parent for
// native modal <dialog> which will only show the dialog and
// its descendants
if(!usePolyfill) {
parentDialog.append(dialog);
} else {
body.append(dialog);
}
}

@@ -122,4 +126,4 @@

scope.$on('$destroy', function() {
dialog.removeEventListener(cancelListener);
dialog.removeEventListener(closeListener);
dialog.removeEventListener('cancel', cancelListener);
dialog.removeEventListener('close', closeListener);
});

@@ -126,0 +130,0 @@ };

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