Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
let View = Cycle.createView(Model => {
return {
vtree$: Cycle.latest(Model, Object.keys(props), item => {
return (
<div class="{Class({picture:">
<img title="{item.title}/" width="{item.width}" src="{item.src}">
</div>
);
}
),
};
});
let View = Cycle.createView(Model => {
return {
vtree$: Cycle.latest(Model, Object.keys(props), item => {
return (
<div class="{Class({picture:">
<img title="{item.title}/" width="{item.width}" src="{item.src}">
</div>
);
}
),
};
});
var View = Cycle.createView(function (Model) {
return {
vtree$: Cycle.latest(Model, Object.keys(props), function (item) {
return h("div", { className: Class({ picture: true, favorite: item.favorite }) }, [h("img", { src: item.src, width: item.width, title: item.title })]);
}) };
});
var View = Cycle.createView(function (Model) {
return {
vtree$: Cycle.latest(Model, Object.keys(props), function (item) {
return h("div", { className: Class({ picture: true, favorite: item.favorite }) }, [h("img", { src: item.src, width: item.width, title: item.title })]);
}) };
});