Socket
Socket
Sign inDemoInstall

modal

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 1.0.0

4

modal-template.js

@@ -23,3 +23,3 @@ var jade = require('jade/lib/runtime.js');module.exports = function anonymous(locals, attrs, escape, rethrow, merge) {

buf.push('<button');
buf.push(attrs({ "class": ('btn') + ' ' + ('js-button') + ' ' + (button.className) }, {"class":true}));
buf.push(attrs({ "class": ('js-button') + ' ' + (button.className) }, {"class":true}));
buf.push('>' + escape((interp = button.text) == null ? '' : interp) + '</button>');

@@ -34,3 +34,3 @@ }

buf.push('<button');
buf.push(attrs({ "class": ('btn') + ' ' + ('js-button') + ' ' + (button.className) }, {"class":true}));
buf.push(attrs({ "class": ('js-button') + ' ' + (button.className) }, {"class":true}));
buf.push('>' + escape((interp = button.text) == null ? '' : interp) + '</button>');

@@ -37,0 +37,0 @@ }

@@ -47,3 +47,3 @@ module.exports = modal

[ { text: 'Cancel', event: 'cancel', className: '', keyCodes: [ 27 ] }
, { text: 'Confirm', event: 'confirm', className: 'btn-primary' }
, { text: 'Confirm', event: 'confirm', className: '' }
]

@@ -50,0 +50,0 @@ , clickOutsideToClose: true

{
"name": "modal",
"version": "0.2.0",
"version": "1.0.0",
"description": "A modal window for the browser.",
"main": "modal.js",
"scripts": {
"test": "node_modules/.bin/mocha/ -R spec test"
"test": "mocha -R spec test"
},

@@ -9,0 +9,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc