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

dresscode-botex

Package Overview
Dependencies
Maintainers
1
Versions
33
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.22 to 0.0.23

9

lib/Botex/MutableArray.js

@@ -75,2 +75,11 @@ Botex.MutableArray = Bricks.inherit(Bricks.Observer, {

filter: function(callback, ctx) {
for (var i = 0; i < this._value.length; i++) {
if (!callback.call(ctx, this._value[i])) {
this.splice(i, 1);
i--;
}
}
},
transform: function(callback, ctx) {

@@ -77,0 +86,0 @@ var dependent = new Botex.MutableArray();

2

package.json
{
"name": "dresscode-botex",
"version": "0.0.22",
"version": "0.0.23",
"dependencies": {

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

@@ -23,2 +23,9 @@ new Samples.HelloWorld({

});
Bricks.DOM.on(document, 'keydown', function(evt) {
if (evt.keyCode === 83) {
arr.filter(function(num) {
return num % 2;
})
}
})

@@ -25,0 +32,0 @@

@@ -8,14 +8,17 @@ Samples.MutableArray = Bricks.inherit(Botex.Widget, {

return {
content: $.value.transform(function(item) {
if (item % 2) {
return new Botex.Widget({
tagName: 'b',
content: item
});
} else {
return Botex.zen('i', item);
}
}, this)
content: [
'Нажмите s, чтобы убрать чётные числа',
$.value.transform(function(item) {
if (item % 2) {
return new Botex.Widget({
tagName: 'b',
content: [' ', item]
});
} else {
return Botex.zen('i', [' ', item]);
}
}, this)
]
};
}
});
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