Skip to content

Commit 7df4c85

Browse files
chore(all): prepare release 0.14.1
1 parent 4ed1231 commit 7df4c85

10 files changed

+24
-16
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-templating",
3-
"version": "0.14.0",
3+
"version": "0.14.1",
44
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
55
"keywords": [
66
"aurelia",

dist/amd/aurelia-templating.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'aurelia-templating' {
1919
export let DOMBoundary: any;
2020
export let hasShadowDOM: any;
2121
export function nextElementSibling(element: Node): Element;
22-
export function createTemplateFromMarkup(markup: string): HTMLTemplateElement;
22+
export function createTemplateFromMarkup(markup: string): Element;
2323
export function replaceNode(newNode: Node, node: Node, parentNode: Node): void;
2424
export function removeNode(node: Node, parentNode: Node): void;
2525
export const animationEvent: any;
@@ -231,7 +231,7 @@ declare module 'aurelia-templating' {
231231
export class ViewCompiler {
232232
static inject(): any;
233233
constructor(bindingLanguage: BindingLanguage, resources: ViewResources);
234-
compile(source: HTMLTemplateElement | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
234+
compile(source: Element | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
235235
compileNode(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;
236236
compileSurrogate(node: any, resources: any): any;
237237
compileElement(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;

dist/aurelia-templating.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'aurelia-templating' {
1919
export let DOMBoundary: any;
2020
export let hasShadowDOM: any;
2121
export function nextElementSibling(element: Node): Element;
22-
export function createTemplateFromMarkup(markup: string): HTMLTemplateElement;
22+
export function createTemplateFromMarkup(markup: string): Element;
2323
export function replaceNode(newNode: Node, node: Node, parentNode: Node): void;
2424
export function removeNode(node: Node, parentNode: Node): void;
2525
export const animationEvent: any;
@@ -231,7 +231,7 @@ declare module 'aurelia-templating' {
231231
export class ViewCompiler {
232232
static inject(): any;
233233
constructor(bindingLanguage: BindingLanguage, resources: ViewResources);
234-
compile(source: HTMLTemplateElement | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
234+
compile(source: Element | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
235235
compileNode(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;
236236
compileSurrogate(node: any, resources: any): any;
237237
compileElement(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;

dist/aurelia-templating.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function nextElementSibling(element:Node):Element {
2020
return element;
2121
}
2222

23-
export function createTemplateFromMarkup(markup:string):HTMLTemplateElement{
23+
export function createTemplateFromMarkup(markup:string):Element{
2424
let parser = document.createElement('div');
2525
parser.innerHTML = markup;
2626

@@ -1532,7 +1532,7 @@ export class ViewCompiler {
15321532
this.resources = resources;
15331533
}
15341534

1535-
compile(source:HTMLTemplateElement|DocumentFragment|string, resources?:ViewResources, compileInstruction?:ViewCompileInstruction):ViewFactory{
1535+
compile(source:Element|DocumentFragment|string, resources?:ViewResources, compileInstruction?:ViewCompileInstruction):ViewFactory{
15361536
resources = resources || this.resources;
15371537
compileInstruction = compileInstruction || ViewCompileInstruction.normal;
15381538

dist/commonjs/aurelia-templating.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'aurelia-templating' {
1919
export let DOMBoundary: any;
2020
export let hasShadowDOM: any;
2121
export function nextElementSibling(element: Node): Element;
22-
export function createTemplateFromMarkup(markup: string): HTMLTemplateElement;
22+
export function createTemplateFromMarkup(markup: string): Element;
2323
export function replaceNode(newNode: Node, node: Node, parentNode: Node): void;
2424
export function removeNode(node: Node, parentNode: Node): void;
2525
export const animationEvent: any;
@@ -231,7 +231,7 @@ declare module 'aurelia-templating' {
231231
export class ViewCompiler {
232232
static inject(): any;
233233
constructor(bindingLanguage: BindingLanguage, resources: ViewResources);
234-
compile(source: HTMLTemplateElement | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
234+
compile(source: Element | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
235235
compileNode(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;
236236
compileSurrogate(node: any, resources: any): any;
237237
compileElement(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;

dist/es6/aurelia-templating.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'aurelia-templating' {
1919
export let DOMBoundary: any;
2020
export let hasShadowDOM: any;
2121
export function nextElementSibling(element: Node): Element;
22-
export function createTemplateFromMarkup(markup: string): HTMLTemplateElement;
22+
export function createTemplateFromMarkup(markup: string): Element;
2323
export function replaceNode(newNode: Node, node: Node, parentNode: Node): void;
2424
export function removeNode(node: Node, parentNode: Node): void;
2525
export const animationEvent: any;
@@ -231,7 +231,7 @@ declare module 'aurelia-templating' {
231231
export class ViewCompiler {
232232
static inject(): any;
233233
constructor(bindingLanguage: BindingLanguage, resources: ViewResources);
234-
compile(source: HTMLTemplateElement | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
234+
compile(source: Element | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
235235
compileNode(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;
236236
compileSurrogate(node: any, resources: any): any;
237237
compileElement(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;

dist/es6/aurelia-templating.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function nextElementSibling(element:Node):Element {
2020
return element;
2121
}
2222

23-
export function createTemplateFromMarkup(markup:string):HTMLTemplateElement{
23+
export function createTemplateFromMarkup(markup:string):Element{
2424
let parser = document.createElement('div');
2525
parser.innerHTML = markup;
2626

@@ -1532,7 +1532,7 @@ export class ViewCompiler {
15321532
this.resources = resources;
15331533
}
15341534

1535-
compile(source:HTMLTemplateElement|DocumentFragment|string, resources?:ViewResources, compileInstruction?:ViewCompileInstruction):ViewFactory{
1535+
compile(source:Element|DocumentFragment|string, resources?:ViewResources, compileInstruction?:ViewCompileInstruction):ViewFactory{
15361536
resources = resources || this.resources;
15371537
compileInstruction = compileInstruction || ViewCompileInstruction.normal;
15381538

dist/system/aurelia-templating.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'aurelia-templating' {
1919
export let DOMBoundary: any;
2020
export let hasShadowDOM: any;
2121
export function nextElementSibling(element: Node): Element;
22-
export function createTemplateFromMarkup(markup: string): HTMLTemplateElement;
22+
export function createTemplateFromMarkup(markup: string): Element;
2323
export function replaceNode(newNode: Node, node: Node, parentNode: Node): void;
2424
export function removeNode(node: Node, parentNode: Node): void;
2525
export const animationEvent: any;
@@ -231,7 +231,7 @@ declare module 'aurelia-templating' {
231231
export class ViewCompiler {
232232
static inject(): any;
233233
constructor(bindingLanguage: BindingLanguage, resources: ViewResources);
234-
compile(source: HTMLTemplateElement | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
234+
compile(source: Element | DocumentFragment | string, resources?: ViewResources, compileInstruction?: ViewCompileInstruction): ViewFactory;
235235
compileNode(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;
236236
compileSurrogate(node: any, resources: any): any;
237237
compileElement(node: any, resources: any, instructions: any, parentNode: any, parentInjectorId: any, targetLightDOM: any): any;

doc/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### 0.14.1 (2015-08-14)
2+
3+
4+
#### Bug Fixes
5+
6+
* **all:** correct some types ([4ed12313](http://github.com/aurelia/templating/commit/4ed123138550c315862d1bdde01a5c691e88853e))
7+
8+
19
## 0.14.0 (2015-08-14)
210

311

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-templating",
3-
"version": "0.14.0",
3+
"version": "0.14.1",
44
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
55
"keywords": [
66
"aurelia",

0 commit comments

Comments
 (0)