Skip to content

Commit

Permalink
Copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrdo committed Sep 14, 2019
1 parent 6282b72 commit 429540c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/microdata-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* An implementation of HTML template by way of the microdata mechanism.
*
* @author Peter Sylwester
* @copyright (c)2018 Peter Sylwester
* @copyright (c)2019 Peter Sylwester
* @license MIT
* @version 2.2.0, 2019/09/13
* @requires "HTML5", "ECMA-262 Edition 5.1"
Expand Down Expand Up @@ -53,7 +53,7 @@
}(this, (function () {
"use strict";

var element, source, version = "2.2.0";
var element, source, version = "2.2.1";

/**
* Markers are the HTML node element attributes used to designate components of the templated markup.
Expand Down Expand Up @@ -428,12 +428,12 @@
}
if (!!proxy) {
if (alternates.length > 1) {
proxy = alternates.filter(function (alt, j, arr) {
proxy = alternates.filter(function (alt, k, arr) {
if (PATTERN.address.test(alt)) {
return alt;
} else if (alt in datum) {
return alt;
} else if (j == arr.length-1 && PATTERN.endquotes.test(alt)) {
} else if (k == arr.length-1 && PATTERN.endquotes.test(alt)) {
return alt;
} else if (new RegExp(alt).test(Object.values(TOKEN))) {
return alt;
Expand Down

0 comments on commit 429540c

Please sign in to comment.