Skip to content

Commit

Permalink
Rebuild and bump version to v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Apr 8, 2020
1 parent e7e7f0d commit 6769b13
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ TemplateTemplate is also really tiny:

| Format | File Size | Minfied Size | Gzipped Size |
|:-----------------------|:------------|:-------------|:-------------|
| Uncompressed (module) | 1,389 bytes | 919 bytes | 502 bytes |
| Uncompressed (browser) | 1,725 bytes | 1,080 bytes | 580 bytes |
| Minified (browser) | 1,082 bytes | 1,080 bytes | 580 bytes |
| Uncompressed (module) | 1,389 bytes | 915 bytes | 498 bytes |
| Uncompressed (browser) | 1,725 bytes | 1,076 bytes | 576 bytes |
| Minified (browser) | 1,078 bytes | 1,076 bytes | 576 bytes |

## Getting TemplateTemplate

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "templatetemplate",
"description": "A very small JavaScript <template> manipulation library.",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/templatetemplate.js",
"moduleType": [
"globals",
Expand Down
2 changes: 1 addition & 1 deletion dist/templatetemplate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TemplateTemplate v1.0.0
* TemplateTemplate v1.0.1
*
* A very small JavaScript <template> manipulation library.
*
Expand Down
4 changes: 2 additions & 2 deletions dist/templatetemplate.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TemplateTemplate v1.0.0
* TemplateTemplate v1.0.1
*
* A very small JavaScript <template> manipulation library.
*
Expand All @@ -10,4 +10,4 @@
* TemplateTemplate may be freely distributed under the MIT license.
*/

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).TemplateTemplate=t()}(this,(function(){"use strict";return function(e,t={}){if(null===(e=e instanceof HTMLElement?e:document.querySelector(e))||!(e instanceof HTMLTemplateElement))throw new TypeError(`${e} is not an HTMLTemplateElement`);if("object"!=typeof t)throw new TypeError(`${t} is not an Object`);const n=document.importNode(e.content,!0);return Object.entries(t).forEach(([e,t])=>{const o=n.querySelector(e);if(t instanceof Array){const[e,n]=t;Object.entries(n).forEach(([e,t])=>o.setAttribute(e,t)),t=e}return t instanceof DocumentFragment||t instanceof HTMLElement?o.appendChild(t):o.textContent=t}),n}}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).TemplateTemplate=t()}(this,(function(){"use strict";return function(e,t={}){if(null===(e=e instanceof HTMLElement?e:document.querySelector(e))||!(e instanceof HTMLTemplateElement))throw new TypeError(e+" is not an HTMLTemplateElement");if("object"!=typeof t)throw new TypeError(t+" is not an Object");const n=document.importNode(e.content,!0);return Object.entries(t).forEach(([e,t])=>{const o=n.querySelector(e);if(t instanceof Array){const[e,n]=t;Object.entries(n).forEach(([e,t])=>o.setAttribute(e,t)),t=e}return t instanceof DocumentFragment||t instanceof HTMLElement?o.appendChild(t):o.textContent=t}),n}}));
2 changes: 1 addition & 1 deletion dist/templatetemplate.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TemplateTemplate v1.0.0
* TemplateTemplate v1.0.1
*
* A very small JavaScript <template> manipulation library.
*
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jgarber/templatetemplate",
"version": "1.0.0",
"version": "1.0.1",
"description": "A very small JavaScript <template> manipulation library.",
"keywords": [
"dom",
Expand Down

0 comments on commit 6769b13

Please sign in to comment.