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

dialog-promise

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dialog-promise - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

23

lib/dialog-promise.js

@@ -342,12 +342,15 @@ "use strict";

}
var tdLabel=row.insertCell();
var labelElement=document.createElement('label');
labelElement.textContent=menuOption.label;
if('value' in menuOption || 'doneFun' in menuOption){
row.className='dialog-menu-option';
tdLabel.addEventListener('click', doDone);
}else{
row.className='dialog-menu-non-option';
}
tdLabel.appendChild(labelElement);
var labels=menuOption.label?[menuOption.label]:menuOption.labels;
labels.forEach(function(label){
var tdLabel=row.insertCell();
var labelElement=document.createElement('label');
labelElement.textContent=label;
if('value' in menuOption || 'doneFun' in menuOption){
row.className='dialog-menu-option';
tdLabel.addEventListener('click', doDone);
}else{
row.className='dialog-menu-non-option';
}
tdLabel.appendChild(labelElement);
});
};
{
"name": "dialog-promise",
"description": "Dialog that returns promises",
"version": "0.6.1",
"version": "0.6.2",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -6,0 +6,0 @@ "repository": "codenautas/dialog-promise",

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