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

ab-mediaquery

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-mediaquery - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

15

AB-mediaQuery.js

@@ -9,3 +9,3 @@ ;(function(name, definition) {

var MediaQuery = function(opt) {
var Plugin = function(opt) {
this.settings = AB.extend(MediaQuery.defaults, opt);

@@ -18,3 +18,3 @@ this.queries = this.settings.bp;

MediaQuery.defaults = {
Plugin.defaults = {
bp: {},

@@ -24,3 +24,3 @@ delay: 200

MediaQuery.prototype = {
Plugin.prototype = {
init: function() {

@@ -45,3 +45,3 @@ this.current = this._getCurrentSize();

_watcher: function() {
var that = this,
var that = this,
event = new CustomEvent('changed.ab-mediaquery'),

@@ -69,8 +69,3 @@ newSize, resizeTimer;

function abMediaQuery(opt) {
if (typeof AB === 'undefined') {
console.log("AB-mediaQuery require another-brick, please read README.md");
return;
}
AB.mediaQuery = new MediaQuery(opt);
window.AB.mediaQuery = new Plugin(opt);
}

@@ -77,0 +72,0 @@

{
"name": "ab-mediaquery",
"version": "2.1.5",
"version": "2.1.6",
"description": "AB-mediaQuery is the JavaScript side of Media Queries. It proposes you some very useful methods for your scripts",

@@ -5,0 +5,0 @@ "main": "AB-mediaQuery.js",

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