diff --git a/bower.json b/bower.json index 421c224..9ad17ab 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "metron", - "version": "2.8.2", + "version": "2.8.3", "description": "A lightweight library and front-end framework utilizing data attributes", "main": "dist/gen/metron.js", "authors": [ diff --git a/package-lock.json b/package-lock.json index e41cf55..23722de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "metronical.metron", - "version": "2.8.0", + "version": "2.8.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -38,9 +38,9 @@ "integrity": "sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw==" }, "typescript": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.2.tgz", - "integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ=" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.8.1.tgz", + "integrity": "sha512-Ao/f6d/4EPLq0YwzsQz8iXflezpTkQzqAyenTiw4kCUGr1uPiFLC3+fZ+gMZz6eeI/qdRUqvC+HxIJzUAzEFdg==" } } } diff --git a/package.json b/package.json index 07b2729..191ad84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metronical.metron", - "version": "2.8.2", + "version": "2.8.3", "description": "A lightweight library and front-end framework utilizing data attributes", "main": "dist/gen/metron.js", "homepage": "https://github.com/metronical/metron", @@ -10,7 +10,7 @@ "awesomplete": "^1.1.1", "milligram": "^1.3.0", "rsvp": "^3.6.2", - "typescript": "^2.4.2" + "typescript": "^2.8.1" }, "scripts": { "postinstall": "tsc -p ." diff --git a/src/metron.templates.ts b/src/metron.templates.ts index 53ce2ad..2a7d864 100644 --- a/src/metron.templates.ts +++ b/src/metron.templates.ts @@ -119,7 +119,7 @@ namespace metron { }); } export function merge(template: string): void { - function _copyAttributes(src: Node, elemName: string) { + function _copyAttributes(src: Element, elemName: string) { for (let i = 0; i < src.attributes.length; i++) { document.documentElement.querySelector(elemName).attribute(src.attributes[i].name, src.attributes[i].value); }