Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
javan committed Nov 5, 2018
1 parent 1cd5037 commit 06e1849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/details-element-polyfill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Details Element Polyfill 2.0.4
Details Element Polyfill 2.1.0
Copyright © 2018 Javan Makhmali
*/
(function() {
Expand All @@ -19,7 +19,7 @@ Copyright © 2018 Javan Makhmali
element.parentNode.removeChild(element);
return closedHeight != openedHeight;
}
var styles = '\ndetails:not([open]) > *:not(summary) {\n display: none;\n}\ndetails > summary {\n display: block;\n}\ndetails > summary::before {\n content: "►";\n padding-right: 0.3rem;\n font-size: 0.6rem;\n cursor: default;\n}\ndetails[open] > summary::before {\n content: "▼";\n}\n';
var styles = '\ndetails, summary {\n display: block;\n}\ndetails:not([open]) > *:not(summary) {\n display: none;\n}\ndetails > summary::before {\n content: "►";\n padding-right: 0.3rem;\n font-size: 0.6rem;\n cursor: default;\n}\ndetails[open] > summary::before {\n content: "▼";\n}\n';
var _ref = [], forEach = _ref.forEach, slice = _ref.slice;
if (!support.open) {
polyfillStyles();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "details-element-polyfill",
"version": "2.0.4",
"version": "2.1.0",
"description": "HTML <details> element polyfill",
"main": "dist/details-element-polyfill.js",
"files": [
Expand Down

0 comments on commit 06e1849

Please sign in to comment.