Skip to content

Commit 429540c

Browse files
committed
Copyright
1 parent 6282b72 commit 429540c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/microdata-template.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* An implementation of HTML template by way of the microdata mechanism.
77
*
88
* @author Peter Sylwester
9-
* @copyright (c)2018 Peter Sylwester
9+
* @copyright (c)2019 Peter Sylwester
1010
* @license MIT
1111
* @version 2.2.0, 2019/09/13
1212
* @requires "HTML5", "ECMA-262 Edition 5.1"
@@ -53,7 +53,7 @@
5353
}(this, (function () {
5454
"use strict";
5555

56-
var element, source, version = "2.2.0";
56+
var element, source, version = "2.2.1";
5757

5858
/**
5959
* Markers are the HTML node element attributes used to designate components of the templated markup.
@@ -428,12 +428,12 @@
428428
}
429429
if (!!proxy) {
430430
if (alternates.length > 1) {
431-
proxy = alternates.filter(function (alt, j, arr) {
431+
proxy = alternates.filter(function (alt, k, arr) {
432432
if (PATTERN.address.test(alt)) {
433433
return alt;
434434
} else if (alt in datum) {
435435
return alt;
436-
} else if (j == arr.length-1 && PATTERN.endquotes.test(alt)) {
436+
} else if (k == arr.length-1 && PATTERN.endquotes.test(alt)) {
437437
return alt;
438438
} else if (new RegExp(alt).test(Object.values(TOKEN))) {
439439
return alt;

0 commit comments

Comments
 (0)