Skip to content

Commit e5ce01d

Browse files
author
pemrouz
committed
chore: build dist
1 parent 0a5afdc commit e5ce01d

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function create(opts) {
6666
(0, _rijs2.default)(ripple); // invoke web components, fn.call(<el>, data)
6767
(0, _rijs8.default)(ripple); // extend components with features
6868
(0, _rijs14.default)(ripple); // define default attrs for components
69-
(0, _rijs12.default)(ripple); // preapplies scoped css
69+
(0, _rijs12.default)(ripple); // preapplies scoped css
7070
(0, _rijs6.default)(ripple); // versioning info and time travel
7171
return ripple;
7272
}

dist/ripple.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ripple.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ripple.min.js.gz

-397 Bytes
Binary file not shown.

dist/ripple.pure.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@
322322
return attr("css", (str(attr("css")(el)) + " " + d).trim())(el);
323323
});
324324
var node = next(el);
325-
return node && node.state ? features.map(key("body")).map(function(d) {
325+
return node && node.state ? (features.map(key("body")).map(function(d) {
326326
return d.call(node.shadowRoot || node, node.state);
327-
}) : void 0;
327+
}), node) : void 0;
328328
};
329329
};
330330
}, log = window.log("[ri/features]");
@@ -347,7 +347,7 @@
347347
}, parse = function(res) {
348348
return res.body = fn(res.body), res;
349349
}, log = window.log("[ri/types/fn]"), to = function(res) {
350-
return res.body = str(res.body), res;
350+
return res.value = str(res.value), res;
351351
};
352352
}, {} ],
353353
12: [ function(require, module, exports) {
@@ -448,12 +448,13 @@
448448
return function(host) {
449449
var styles, css = str(attr(host, "css")).split(" ").filter(Boolean), root = host.shadowRoot || host, head = document.head, shadow = head.createShadowRoot && host.shadowRoot;
450450
if (!css.length) return next(host);
451-
if (!css.some(not(is.in(ripple.resources)))) return styles = css.map(from(ripple.resources)).map(key("body")).map(shadow ? identity : transform(css)),
452-
css.map(function(d) {
451+
if (!css.some(not(is.in(ripple.resources)))) return styles = css.map(from(ripple.resources)).map(function(d) {
452+
return d.body;
453+
}).map(shadow ? identity : transform(css)), css.map(function(d) {
453454
return raw('style[resource="' + d + '"]', shadow ? root : head) || el("style[resource=" + d + "]");
454-
}).map(key("innerHTML", function(d, i) {
455-
return styles[i];
456-
})).filter(not(by("parentNode"))).map(function(d) {
455+
}).map(function(d, i) {
456+
return d.innerHTML = styles[i], d;
457+
}).filter(not(by("parentNode"))).map(function(d) {
457458
return shadow ? root.insertBefore(d, root.firstChild) : head.appendChild(d);
458459
}), next(host);
459460
};

dist/ripple.pure.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ripple.pure.min.js.gz

5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)