From 3dfa30ac062b8337ab1391d800402ba9de5f6248 Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Fri, 14 Aug 2015 10:17:17 -0400 Subject: [PATCH] chore(all): prepare release 0.14.2 --- bower.json | 2 +- dist/amd/aurelia-templating.js | 2 +- dist/aurelia-templating.js | 2 +- dist/commonjs/aurelia-templating.js | 2 +- dist/es6/aurelia-templating.js | 2 +- dist/system/aurelia-templating.js | 2 +- doc/CHANGELOG.md | 8 ++++++++ package.json | 2 +- 8 files changed, 15 insertions(+), 7 deletions(-) diff --git a/bower.json b/bower.json index 90187f3b..785c00bc 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.14.1", + "version": "0.14.2", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-templating.js b/dist/amd/aurelia-templating.js index c7540572..c548191a 100644 --- a/dist/amd/aurelia-templating.js +++ b/dist/amd/aurelia-templating.js @@ -54,7 +54,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pa var parser = document.createElement('div'); parser.innerHTML = markup; - var temp = parser.firstChild; + var temp = parser.firstElementChild; if (needsTemplateFixup) { temp.content = document.createDocumentFragment(); diff --git a/dist/aurelia-templating.js b/dist/aurelia-templating.js index ca294ca4..159125ee 100644 --- a/dist/aurelia-templating.js +++ b/dist/aurelia-templating.js @@ -24,7 +24,7 @@ export function createTemplateFromMarkup(markup:string):Element{ let parser = document.createElement('div'); parser.innerHTML = markup; - let temp = parser.firstChild; + let temp = parser.firstElementChild; if(needsTemplateFixup){ temp.content = document.createDocumentFragment(); diff --git a/dist/commonjs/aurelia-templating.js b/dist/commonjs/aurelia-templating.js index f83a6968..3ed39dc2 100644 --- a/dist/commonjs/aurelia-templating.js +++ b/dist/commonjs/aurelia-templating.js @@ -75,7 +75,7 @@ function createTemplateFromMarkup(markup) { var parser = document.createElement('div'); parser.innerHTML = markup; - var temp = parser.firstChild; + var temp = parser.firstElementChild; if (needsTemplateFixup) { temp.content = document.createDocumentFragment(); diff --git a/dist/es6/aurelia-templating.js b/dist/es6/aurelia-templating.js index ca294ca4..159125ee 100644 --- a/dist/es6/aurelia-templating.js +++ b/dist/es6/aurelia-templating.js @@ -24,7 +24,7 @@ export function createTemplateFromMarkup(markup:string):Element{ let parser = document.createElement('div'); parser.innerHTML = markup; - let temp = parser.firstChild; + let temp = parser.firstElementChild; if(needsTemplateFixup){ temp.content = document.createDocumentFragment(); diff --git a/dist/system/aurelia-templating.js b/dist/system/aurelia-templating.js index e4ca125c..7f25de1c 100644 --- a/dist/system/aurelia-templating.js +++ b/dist/system/aurelia-templating.js @@ -65,7 +65,7 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-metadata', 'aurelia-path var parser = document.createElement('div'); parser.innerHTML = markup; - var temp = parser.firstChild; + var temp = parser.firstElementChild; if (needsTemplateFixup) { temp.content = document.createDocumentFragment(); diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index e74ea473..83d050df 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,11 @@ +### 0.14.2 (2015-08-14) + + +#### Bug Fixes + +* **dom:** return firstElementChild from parsed template markup ([ea230c84](http://github.com/aurelia/templating/commit/ea230c84f80ac629db6d0add4c1429d5b6fe2f9e)) + + ### 0.14.1 (2015-08-14) diff --git a/package.json b/package.json index e5637d1d..b63ef12c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-templating", - "version": "0.14.1", + "version": "0.14.2", "description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.", "keywords": [ "aurelia",