Skip to content

Commit 384189b

Browse files
committed
Versioning
1 parent 429540c commit 384189b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###### This is released software. Please **[log issues](https://github.com/ptrdo/microdata-template/issues)** found.
2-
# microdata-template `v2.2.0`
2+
# microdata-template `v2.2.1`
33
An implementation of HTML template by way of the microdata mechanism.
44
### The Gist
55
This JavaScript module should simplify adding dynamic content to HTML documents while staying true to the recommendations of web standards. There are no dependencies here except the JavaScript [ECMA5 standard](http://www.ecma-international.org/ecma-262/5.1/) which enjoys [nearly universal support](http://kangax.github.io/compat-table/es5/) in modern browsers. Also, since the HTML recommendations for integral technologies such as [template](https://www.w3.org/TR/html52/semantics-scripting.html#the-template-element) and [microdata](https://www.w3.org/TR/microdata/) are variably implemented by modern browsers, this module serves as a [polyfill](https://en.wikipedia.org/wiki/Polyfill) to assure reliable results. Best of all, this methodology encourages the writing of low-dependency JavaScript and perfectly valid HTML — even within fully-functional templated markup.
@@ -260,11 +260,11 @@ Once instantiated in the web client code, the microdata-template can be addresse
260260
```javascript
261261
// In pre-ES6 implementations, the code is exposed to the global namespace:
262262
var templater = window.MicrodataTemplate.init();
263-
templater.getVerson(); // returns current version, e.g. "2.2.0"
263+
templater.getVerson(); // returns current version, e.g. "2.2.1"
264264

265265
// In ES6 implementations, the import code does not require init()
266266
import templater from "./path/to/microdata-template.js";
267-
templater.getVersion(); // returns current version, e.g. "2.2.0"
267+
templater.getVersion(); // returns current version, e.g. "2.2.1"
268268

269269
```
270270

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "microdata-template",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "An implementation of HTML template by way of the microdata mechanism.",
55
"keywords": [
66
"javascript",

0 commit comments

Comments
 (0)