Socket
Socket
Sign inDemoInstall

modal

Package Overview
Dependencies
74
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

1

modal.js

@@ -104,2 +104,3 @@ module.exports = modal

modal[transitionFn]({ top: window.innerHeight }, settings.fx ? 200 : 0)
this.trigger('close')
this.stopListening()

@@ -106,0 +107,0 @@ $(document).off('keyup', keyup)

2

package.json
{
"name": "modal",
"version": "0.0.1",
"version": "0.0.2",
"description": "A modal window for the browser.",

@@ -5,0 +5,0 @@ "main": "modal.js",

@@ -120,2 +120,10 @@ require('./test-env')

it('should emit a close event', function (done) {
var m = modal({ fx: false })
m.on('close', function () {
done()
})
m.close()
})
})

@@ -122,0 +130,0 @@

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