Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 19, 2016
1 parent d4a211f commit ab34b78
Show file tree
Hide file tree
Showing 11 changed files with 222 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
"version": "1.0.0-beta.3.0.4",
"version": "1.0.0-beta.3.0.5",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand Down
4 changes: 2 additions & 2 deletions build/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ paths.files = [
'animator.js',
'composition-transaction.js',
'util.js',
'view-engine-hooks-resource.js',
'element-events.js',
'instructions.js',
'view-strategy.js',
Expand All @@ -50,8 +51,7 @@ paths.files = [
'composition-engine.js',
'element-config.js',
'decorators.js',
'templating-engine.js',
'view-engine-resource-hooks.js'
'templating-engine.js'
].map(function(file){
return paths.root + file;
});
Expand Down
37 changes: 35 additions & 2 deletions dist/amd/aurelia-templating.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aurelia-path', 'aurelia-loader', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-task-queue'], function (exports, _aureliaLogging, _aureliaPal, _aureliaMetadata, _aureliaPath, _aureliaLoader, _aureliaDependencyInjection, _aureliaBinding, _aureliaTaskQueue) {
define(['exports', 'aurelia-logging', 'aurelia-metadata', 'aurelia-pal', 'aurelia-path', 'aurelia-loader', 'aurelia-dependency-injection', 'aurelia-binding', 'aurelia-task-queue'], function (exports, _aureliaLogging, _aureliaMetadata, _aureliaPal, _aureliaPath, _aureliaLoader, _aureliaDependencyInjection, _aureliaBinding, _aureliaTaskQueue) {
'use strict';

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TemplatingEngine = exports.ElementConfigResource = exports.CompositionEngine = exports.HtmlBehaviorResource = exports.BindableProperty = exports.BehaviorPropertyObserver = exports.Controller = exports.ViewEngine = exports.ModuleAnalyzer = exports.ResourceDescription = exports.ResourceModule = exports.ViewCompiler = exports.ViewFactory = exports.BoundViewFactory = exports.ViewSlot = exports.View = exports.ViewResources = exports.ShadowDOM = exports.ShadowSlot = exports.PassThroughSlot = exports.SlotCustomAttribute = exports.BindingLanguage = exports.ViewLocator = exports.InlineViewStrategy = exports.TemplateRegistryViewStrategy = exports.NoViewStrategy = exports.ConventionalViewStrategy = exports.RelativeViewStrategy = exports.viewStrategy = exports.TargetInstruction = exports.BehaviorInstruction = exports.ViewCompileInstruction = exports.ResourceLoadContext = exports.ElementEvents = exports.CompositionTransaction = exports.CompositionTransactionOwnershipToken = exports.CompositionTransactionNotifier = exports.Animator = exports.animationEvent = undefined;
exports.TemplatingEngine = exports.ElementConfigResource = exports.CompositionEngine = exports.HtmlBehaviorResource = exports.BindableProperty = exports.BehaviorPropertyObserver = exports.Controller = exports.ViewEngine = exports.ModuleAnalyzer = exports.ResourceDescription = exports.ResourceModule = exports.ViewCompiler = exports.ViewFactory = exports.BoundViewFactory = exports.ViewSlot = exports.View = exports.ViewResources = exports.ShadowDOM = exports.ShadowSlot = exports.PassThroughSlot = exports.SlotCustomAttribute = exports.BindingLanguage = exports.ViewLocator = exports.InlineViewStrategy = exports.TemplateRegistryViewStrategy = exports.NoViewStrategy = exports.ConventionalViewStrategy = exports.RelativeViewStrategy = exports.viewStrategy = exports.TargetInstruction = exports.BehaviorInstruction = exports.ViewCompileInstruction = exports.ResourceLoadContext = exports.ElementEvents = exports.ViewEngineHooksResource = exports.CompositionTransaction = exports.CompositionTransactionOwnershipToken = exports.CompositionTransactionNotifier = exports.Animator = exports.animationEvent = undefined;
exports._hyphenate = _hyphenate;
exports._isAllWhitespace = _isAllWhitespace;
exports.viewEngineHooks = viewEngineHooks;
exports.children = children;
exports.child = child;
exports.resource = resource;
Expand Down Expand Up @@ -231,6 +232,38 @@ define(['exports', 'aurelia-logging', 'aurelia-pal', 'aurelia-metadata', 'aureli
return !(node.auInterpolationTarget || /[^\t\n\r ]/.test(node.textContent));
}

var ViewEngineHooksResource = exports.ViewEngineHooksResource = function () {
function ViewEngineHooksResource() {

}

ViewEngineHooksResource.prototype.initialize = function initialize(container, target) {
this.instance = container.get(target);
};

ViewEngineHooksResource.prototype.register = function register(registry, name) {
registry.registerViewEngineHooks(this.instance);
};

ViewEngineHooksResource.prototype.load = function load(container, target) {};

ViewEngineHooksResource.convention = function convention(name) {
if (name.endsWith('ViewEngineHooks')) {
return new ViewEngineHooksResource();
}
};

return ViewEngineHooksResource;
}();

function viewEngineHooks(target) {
var deco = function deco(t) {
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, new ViewEngineHooksResource(), t);
};

return target ? deco(target) : deco;
}

var ElementEvents = exports.ElementEvents = function () {
function ElementEvents(element) {

Expand Down
18 changes: 13 additions & 5 deletions dist/aurelia-templating.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import * as LogManager from 'aurelia-logging';
import {
metadata,
Origin,
protocol
} from 'aurelia-metadata';
import {
DOM,
PLATFORM,
FEATURE
} from 'aurelia-pal';
import {
Origin,
protocol,
metadata
} from 'aurelia-metadata';
import {
relativeToFile
} from 'aurelia-path';
Expand Down Expand Up @@ -368,6 +368,14 @@ export declare class CompositionTransaction {
*/
enlist(): CompositionTransactionNotifier;
}
export declare class ViewEngineHooksResource {
constructor();
initialize(container?: any, target?: any): any;
register(registry?: any, name?: any): any;
load(container?: any, target?: any): any;
static convention(name?: any): any;
}
export declare function viewEngineHooks(target?: any): any;

/**
* Dispatches subscribets to and publishes events in the DOM.
Expand Down
30 changes: 29 additions & 1 deletion dist/aurelia-templating.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as LogManager from 'aurelia-logging';
import {metadata,Origin,protocol} from 'aurelia-metadata';
import {DOM,PLATFORM,FEATURE} from 'aurelia-pal';
import {Origin,protocol,metadata} from 'aurelia-metadata';
import {relativeToFile} from 'aurelia-path';
import {TemplateRegistryEntry,Loader} from 'aurelia-loader';
import {inject,Container,resolver} from 'aurelia-dependency-injection';
Expand Down Expand Up @@ -231,6 +231,34 @@ export function _isAllWhitespace(node) {
return !(node.auInterpolationTarget || (/[^\t\n\r ]/.test(node.textContent)));
}

export class ViewEngineHooksResource {
constructor() {}

initialize(container, target) {
this.instance = container.get(target);
}

register(registry, name) {
registry.registerViewEngineHooks(this.instance);
}

load(container, target) {}

static convention(name) { // eslint-disable-line
if (name.endsWith('ViewEngineHooks')) {
return new ViewEngineHooksResource();
}
}
}

export function viewEngineHooks(target) { // eslint-disable-line
let deco = function(t) {
metadata.define(metadata.resource, new ViewEngineHooksResource(), t);
};

return target ? deco(target) : deco;
}

interface EventHandler {
eventName: string;
bubbles: boolean;
Expand Down
39 changes: 36 additions & 3 deletions dist/commonjs/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TemplatingEngine = exports.ElementConfigResource = exports.CompositionEngine = exports.HtmlBehaviorResource = exports.BindableProperty = exports.BehaviorPropertyObserver = exports.Controller = exports.ViewEngine = exports.ModuleAnalyzer = exports.ResourceDescription = exports.ResourceModule = exports.ViewCompiler = exports.ViewFactory = exports.BoundViewFactory = exports.ViewSlot = exports.View = exports.ViewResources = exports.ShadowDOM = exports.ShadowSlot = exports.PassThroughSlot = exports.SlotCustomAttribute = exports.BindingLanguage = exports.ViewLocator = exports.InlineViewStrategy = exports.TemplateRegistryViewStrategy = exports.NoViewStrategy = exports.ConventionalViewStrategy = exports.RelativeViewStrategy = exports.viewStrategy = exports.TargetInstruction = exports.BehaviorInstruction = exports.ViewCompileInstruction = exports.ResourceLoadContext = exports.ElementEvents = exports.CompositionTransaction = exports.CompositionTransactionOwnershipToken = exports.CompositionTransactionNotifier = exports.Animator = exports.animationEvent = undefined;
exports.TemplatingEngine = exports.ElementConfigResource = exports.CompositionEngine = exports.HtmlBehaviorResource = exports.BindableProperty = exports.BehaviorPropertyObserver = exports.Controller = exports.ViewEngine = exports.ModuleAnalyzer = exports.ResourceDescription = exports.ResourceModule = exports.ViewCompiler = exports.ViewFactory = exports.BoundViewFactory = exports.ViewSlot = exports.View = exports.ViewResources = exports.ShadowDOM = exports.ShadowSlot = exports.PassThroughSlot = exports.SlotCustomAttribute = exports.BindingLanguage = exports.ViewLocator = exports.InlineViewStrategy = exports.TemplateRegistryViewStrategy = exports.NoViewStrategy = exports.ConventionalViewStrategy = exports.RelativeViewStrategy = exports.viewStrategy = exports.TargetInstruction = exports.BehaviorInstruction = exports.ViewCompileInstruction = exports.ResourceLoadContext = exports.ElementEvents = exports.ViewEngineHooksResource = exports.CompositionTransaction = exports.CompositionTransactionOwnershipToken = exports.CompositionTransactionNotifier = exports.Animator = exports.animationEvent = undefined;

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

Expand All @@ -13,6 +13,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol

exports._hyphenate = _hyphenate;
exports._isAllWhitespace = _isAllWhitespace;
exports.viewEngineHooks = viewEngineHooks;
exports.children = children;
exports.child = child;
exports.resource = resource;
Expand All @@ -36,10 +37,10 @@ var _aureliaLogging = require('aurelia-logging');

var LogManager = _interopRequireWildcard(_aureliaLogging);

var _aureliaPal = require('aurelia-pal');

var _aureliaMetadata = require('aurelia-metadata');

var _aureliaPal = require('aurelia-pal');

var _aureliaPath = require('aurelia-path');

var _aureliaLoader = require('aurelia-loader');
Expand Down Expand Up @@ -212,6 +213,38 @@ function _isAllWhitespace(node) {
return !(node.auInterpolationTarget || /[^\t\n\r ]/.test(node.textContent));
}

var ViewEngineHooksResource = exports.ViewEngineHooksResource = function () {
function ViewEngineHooksResource() {

}

ViewEngineHooksResource.prototype.initialize = function initialize(container, target) {
this.instance = container.get(target);
};

ViewEngineHooksResource.prototype.register = function register(registry, name) {
registry.registerViewEngineHooks(this.instance);
};

ViewEngineHooksResource.prototype.load = function load(container, target) {};

ViewEngineHooksResource.convention = function convention(name) {
if (name.endsWith('ViewEngineHooks')) {
return new ViewEngineHooksResource();
}
};

return ViewEngineHooksResource;
}();

function viewEngineHooks(target) {
var deco = function deco(t) {
_aureliaMetadata.metadata.define(_aureliaMetadata.metadata.resource, new ViewEngineHooksResource(), t);
};

return target ? deco(target) : deco;
}

var ElementEvents = exports.ElementEvents = function () {
function ElementEvents(element) {

Expand Down
30 changes: 29 additions & 1 deletion dist/es2015/aurelia-templating.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var _class3, _temp, _dec, _class4, _dec2, _class5, _dec3, _class6, _dec4, _class7, _dec5, _class8, _class9, _temp2, _dec6, _class10, _class11, _temp3, _class13, _dec7, _class15, _dec8, _class16, _dec9, _class18, _dec10, _class19, _dec11, _class20;

import * as LogManager from 'aurelia-logging';
import { metadata, Origin, protocol } from 'aurelia-metadata';
import { DOM, PLATFORM, FEATURE } from 'aurelia-pal';
import { Origin, protocol, metadata } from 'aurelia-metadata';
import { relativeToFile } from 'aurelia-path';
import { TemplateRegistryEntry, Loader } from 'aurelia-loader';
import { inject, Container, resolver } from 'aurelia-dependency-injection';
Expand Down Expand Up @@ -147,6 +147,34 @@ export function _isAllWhitespace(node) {
return !(node.auInterpolationTarget || /[^\t\n\r ]/.test(node.textContent));
}

export let ViewEngineHooksResource = class ViewEngineHooksResource {
constructor() {}

initialize(container, target) {
this.instance = container.get(target);
}

register(registry, name) {
registry.registerViewEngineHooks(this.instance);
}

load(container, target) {}

static convention(name) {
if (name.endsWith('ViewEngineHooks')) {
return new ViewEngineHooksResource();
}
}
};

export function viewEngineHooks(target) {
let deco = function (t) {
metadata.define(metadata.resource, new ViewEngineHooksResource(), t);
};

return target ? deco(target) : deco;
}

export let ElementEvents = class ElementEvents {
constructor(element) {
this.element = element;
Expand Down
34 changes: 33 additions & 1 deletion dist/native-modules/aurelia-templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol


import * as LogManager from 'aurelia-logging';
import { metadata, Origin, protocol } from 'aurelia-metadata';
import { DOM, PLATFORM, FEATURE } from 'aurelia-pal';
import { Origin, protocol, metadata } from 'aurelia-metadata';
import { relativeToFile } from 'aurelia-path';
import { TemplateRegistryEntry, Loader } from 'aurelia-loader';
import { inject, Container, resolver } from 'aurelia-dependency-injection';
Expand Down Expand Up @@ -173,6 +173,38 @@ export function _isAllWhitespace(node) {
return !(node.auInterpolationTarget || /[^\t\n\r ]/.test(node.textContent));
}

export var ViewEngineHooksResource = function () {
function ViewEngineHooksResource() {

}

ViewEngineHooksResource.prototype.initialize = function initialize(container, target) {
this.instance = container.get(target);
};

ViewEngineHooksResource.prototype.register = function register(registry, name) {
registry.registerViewEngineHooks(this.instance);
};

ViewEngineHooksResource.prototype.load = function load(container, target) {};

ViewEngineHooksResource.convention = function convention(name) {
if (name.endsWith('ViewEngineHooks')) {
return new ViewEngineHooksResource();
}
};

return ViewEngineHooksResource;
}();

export function viewEngineHooks(target) {
var deco = function deco(t) {
metadata.define(metadata.resource, new ViewEngineHooksResource(), t);
};

return target ? deco(target) : deco;
}

export var ElementEvents = function () {
function ElementEvents(element) {

Expand Down
Loading

0 comments on commit ab34b78

Please sign in to comment.