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

febs-browser

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs-browser - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

19

libs/dom.js

@@ -232,2 +232,4 @@ ( function( global, factory ) {

var CreateDom;
/**

@@ -328,6 +330,6 @@ * @desc 类jquery dom操作.

// plugin.
for (const key in Dom.fn) {
for (const key in CreateDom.fn) {
if (key == 'extend' || key == 'fn') continue;
if (typeof Dom.fn[key] === 'function') {
this[key] = Dom.fn[key].bind(this);
if (typeof CreateDom.fn[key] === 'function') {
this[key] = CreateDom.fn[key].bind(this);
}

@@ -1266,5 +1268,8 @@ }

CreateDom = function(n) {
return new Dom(n);
}
// plugin.
Dom.fn = {};
Dom.extend = function(plugin) {
CreateDom.fn = {};
CreateDom.extend = function(plugin) {
if (plugin) {

@@ -1274,3 +1279,3 @@ for (const key in plugin) {

if (typeof plugin[key] === 'function') {
Dom[key] = plugin[key];
CreateDom[key] = plugin[key];
}

@@ -1281,4 +1286,4 @@ }

return Dom;
return {Dom, CreateDom};
}
);

@@ -57,3 +57,3 @@

febs.dom = require('./dom');
febs['$'] = function(n) { return new febs.dom(n); }
febs['$'] = febs.dom.CreateDom;

@@ -60,0 +60,0 @@ window['febs'] = febs;

@@ -73,3 +73,3 @@ {

"name": "febs-browser",
"version": "0.7.8"
"version": "0.7.9"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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