Socket
Socket
Sign inDemoInstall

dresscode-botex

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dresscode-botex - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

9

lib/Botex/index.js

@@ -35,3 +35,8 @@ var Botex = {};

Botex.zen = function(selector, params) {
Botex.zen = function(ctor, selector, params) {
if (arguments.length < 3) {
params = selector;
selector = ctor;
ctor = Botex.Tag;
}
selector = selector || '';

@@ -60,3 +65,3 @@ if (selector.match(/^([a-z0-9]*)((?:\.[-_a-z0-9]+)*)((?:\[[-a-z0-9]+(=[^\]]*)?])*)$/i)) {

}
return new Botex.Tag(selectorParams, params);
return new ctor(selectorParams, params);
} else {

@@ -63,0 +68,0 @@ throw new TypeError('Invalid selector ' + selector);

@@ -36,3 +36,5 @@ Botex.Widget = Bricks.inherit(Botex.Tag, {

mount: function(parentEl, beforeEl) {
this.unmount();
if (this._mounted) {
this.unmount();
}
parentEl = Bricks.DOM.getEl(parentEl);

@@ -39,0 +41,0 @@ beforeEl = Bricks.DOM.getEl(beforeEl);

{
"name": "dresscode-botex",
"version": "0.0.26",
"version": "0.0.27",
"dependencies": {

@@ -5,0 +5,0 @@ "dresscode-bricks": "latest",

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