Skip to content

Commit

Permalink
4.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Aug 31, 2020
1 parent 8d9af25 commit 3135c62
Show file tree
Hide file tree
Showing 6 changed files with 266 additions and 189 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "riot",
"version": "4.13.6",
"version": "4.14.0",
"description": "Simple and elegant component-based UI library",
"homepage": "http://riot.js.org/",
"repository": "riot/riot",
Expand Down
411 changes: 237 additions & 174 deletions riot+compiler.js

Large diffs are not rendered by default.

22 changes: 18 additions & 4 deletions riot+compiler.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions riot.esm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Riot v4.13.6, @license MIT */
/* Riot v4.14.0, @license MIT */
/**
* Convert a string from camel case to dash-case
* @param {string} string - probably a component tag name
Expand Down Expand Up @@ -1260,7 +1260,7 @@ function extendParentScope(attributes, scope, parentScope) {
// https://github.com/riot/riot/issues/2842


const getRealParent = (scope, parentScope) => parentScope ? parentScope === scope ? scope[PARENT_KEY_SYMBOL] : parentScope : undefined;
const getRealParent = (scope, parentScope) => scope[PARENT_KEY_SYMBOL] || parentScope;

const SlotBinding = Object.seal({
// dynamic binding properties
Expand Down Expand Up @@ -1416,7 +1416,7 @@ function slotBindings(slots) {

function slotsToMarkup(slots) {
return slots.reduce((acc, slot) => {
return `${acc}<slot name="${slot.id}">${slot.html}</slot>`;
return acc + slot.html;
}, '');
}

Expand Down Expand Up @@ -2627,7 +2627,7 @@ function pure(func) {
}
/** @type {string} current riot version */

const version = 'v4.13.6'; // expose some internal stuff that might be used from external tools
const version = 'v4.14.0'; // expose some internal stuff that might be used from external tools

const __ = {
cssManager,
Expand Down
8 changes: 4 additions & 4 deletions riot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Riot v4.13.6, @license MIT */
/* Riot v4.14.0, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
Expand Down Expand Up @@ -1266,7 +1266,7 @@
// https://github.com/riot/riot/issues/2842


const getRealParent = (scope, parentScope) => parentScope ? parentScope === scope ? scope[PARENT_KEY_SYMBOL] : parentScope : undefined;
const getRealParent = (scope, parentScope) => scope[PARENT_KEY_SYMBOL] || parentScope;

const SlotBinding = Object.seal({
// dynamic binding properties
Expand Down Expand Up @@ -1422,7 +1422,7 @@

function slotsToMarkup(slots) {
return slots.reduce((acc, slot) => {
return `${acc}<slot name="${slot.id}">${slot.html}</slot>`;
return acc + slot.html;
}, '');
}

Expand Down Expand Up @@ -2633,7 +2633,7 @@
}
/** @type {string} current riot version */

const version = 'v4.13.6'; // expose some internal stuff that might be used from external tools
const version = 'v4.14.0'; // expose some internal stuff that might be used from external tools

const __ = {
cssManager,
Expand Down

0 comments on commit 3135c62

Please sign in to comment.