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.17 to 0.0.18

10

lib/Botex/Tag.js

@@ -24,3 +24,5 @@ Botex.Tag = Bricks.inherit(Botex.Template, {

var attrs = Pony.Object.assign({}, $.attrs);
var cls = Bricks.String.trim($.className.join(' '));
var cls = Bricks.String.trim($.className.map(function(cls) {
return cls instanceof Quantum.Quant ? cls.getValue() : cls;
}).join(' '));
if (cls) {

@@ -31,2 +33,5 @@ attrs['class'] = cls;

var value = $.style[name];
if (value instanceof Quantum.Quant) {
value = value.getValue();
}
return value !== null && value !== undefined ? name + ':' + value + ';' : '';

@@ -39,2 +44,5 @@ }, this).join('');

var value = attrs[name];
if (value instanceof Quantum.Quant) {
value = value.getValue();
}
if (!value) {

@@ -41,0 +49,0 @@ return '';

2

package.json
{
"name": "dresscode-botex",
"version": "0.0.17",
"version": "0.0.18",
"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