New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

psl-core

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

psl-core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.idea/vcs.xml

16

dist/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.psl_table = exports.psl_popup = undefined;
exports.pslHelper = exports.pslTable = exports.pslPopup = undefined;

@@ -17,10 +17,16 @@ var _PopUp = require('./PopUp');

var _Helper = require('./Helper');
var _Helper2 = _interopRequireDefault(_Helper);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var psl_popup = exports.psl_popup = _PopUp2.default;
var psl_table = exports.psl_table = _Table2.default;
var pslPopup = exports.pslPopup = _PopUp2.default;
var pslTable = exports.pslTable = _Table2.default;
var pslHelper = exports.pslHelper = _Helper2.default;
exports.default = {
popup: psl_popup,
table: psl_table
popup: pslPopup,
table: pslTable,
helper: pslHelper
};

@@ -18,2 +18,9 @@ "use strict";

key: "isElementInViewport",
/**
* Check if the passed element is in view port.
* @param el
* @return {boolean}
*/
value: function isElementInViewport(el) {

@@ -31,2 +38,11 @@ //special bonus for those using jQuery

}
/**
* If the container scroll gets the limit element then run the callback
*
* @param container
* @param limit
* @param callback
*/
}, {

@@ -40,8 +56,20 @@ key: "infiniteScroll",

if (_this.isElementInViewport($(limit))) {
setTimeout(function () {
callback();
}, 50);
callback();
}
});
}
/**
* Resize the table.
* Pass the class or id of the element.
* E.g. .name | #name
* @param name
*/
}, {
key: "reflowTheader",
value: function reflowTheader(name) {
var $table = $(name);
$table.trigger('reflow');
}
}]);

@@ -48,0 +76,0 @@

The MIT License (MIT)
Copyright (c) Fangdun Cai <cfddream@gmail.com> (fundon.me)
Copyright (c) PygmySlowLoris <team@pygmyslowloris.org>

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "psl-core",
"version": "1.0.0",
"version": "1.0.1",
"description": "Core Library",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/PygmySlowLoris/psl-core"
},
"scripts": {

@@ -12,9 +16,13 @@ "compile": "babel -d dist src",

"name": "PygmySlowLoris Team",
"email": "edujugon@gmail.com",
"email": "team@pygmyslowloris.org",
"url": "https://github.com/PygmySlowLoris"
},
"contributors": [
"Guido Ceraso <guidoceraso@gmail.com> (https://github.com/hazzo)",
"Eduardo Marcos <edujugon@gmail.com> (https://github.com/Edujugon)"
"Eduardo Marcos <edujugon@gmail.com> (https://github.com/Edujugon)",
"Guido Ceraso <guidoceraso@gmail.com> (https://github.com/hazzo)"
],
"bugs": {
"url": "https://github.com/PygmySlowLoris/psl-core/issues"
},
"homepage": "https://github.com/PygmySlowLoris/psl-core#readme",
"license": "MIT",

@@ -21,0 +29,0 @@ "devDependencies": {

# Pygmy Slow Loris Core Library
Set of useful Classes and methods.
Set of useful classes and methods.

Sorry, the diff of this file is not supported yet

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