Skip to content

Commit

Permalink
chore(all): prepare release 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Nov 10, 2015
1 parent 5eeaef0 commit 9f0743a
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 75 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-framework",
"version": "0.17.0",
"version": "0.18.0",
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'aurelia-framework' {
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
Expand Down
16 changes: 5 additions & 11 deletions dist/amd/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,6 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
throw new Error(message);
}

if (!_this5.container.hasResolver(_aureliaTemplating.Animator)) {
_aureliaTemplating.Animator.configureDefault(_this5.container);
}

_aureliaTemplating.templatingEngine.initialize(_this5.container);

_this5.logger.info('Aurelia Started');
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
_aureliaPal.DOM.dispatchEvent(evt);
Expand All @@ -308,8 +302,8 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
this._configureHost(applicationHost);

return new Promise(function (resolve) {
var viewEngine = _this6.container.get(_aureliaTemplating.ViewEngine);
_this6.root = viewEngine.enhance(_this6.container, _this6.host, _this6.resources, bindingContext);
var engine = _this6.container.get(_aureliaTemplating.TemplatingEngine);
_this6.root = engine.enhance({ container: _this6.container, element: _this6.host, resources: _this6.resources, bindingContext: bindingContext });
_this6.root.attached();
_this6._onAureliaComposed();
return _this6;
Expand All @@ -322,18 +316,18 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
var root = arguments.length <= 0 || arguments[0] === undefined ? 'app' : arguments[0];
var applicationHost = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

var compositionEngine = undefined;
var engine = undefined;
var instruction = {};

this._configureHost(applicationHost);

compositionEngine = this.container.get(_aureliaTemplating.CompositionEngine);
engine = this.container.get(_aureliaTemplating.TemplatingEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = this.hostSlot;
instruction.host = this.host;

return compositionEngine.compose(instruction).then(function (r) {
return engine.compose(instruction).then(function (r) {
_this7.root = r;
instruction.viewSlot.attached();
_this7._onAureliaComposed();
Expand Down
2 changes: 1 addition & 1 deletion dist/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'aurelia-framework' {
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
Expand Down
18 changes: 6 additions & 12 deletions dist/aurelia-framework.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import {ViewEngine,BindingLanguage,ViewSlot,ViewResources,CompositionEngine,Animator,templatingEngine} from 'aurelia-templating';
import {ViewEngine,BindingLanguage,ViewSlot,ViewResources,TemplatingEngine} from 'aurelia-templating';
import {join} from 'aurelia-path';
import {Container} from 'aurelia-dependency-injection';
import {Loader} from 'aurelia-loader';
Expand Down Expand Up @@ -393,12 +393,6 @@ export class Aurelia {
throw new Error(message);
}

if (!this.container.hasResolver(Animator)) {
Animator.configureDefault(this.container);
}

templatingEngine.initialize(this.container);

this.logger.info('Aurelia Started');
let evt = DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
DOM.dispatchEvent(evt);
Expand All @@ -416,8 +410,8 @@ export class Aurelia {
this._configureHost(applicationHost);

return new Promise(resolve => {
let viewEngine = this.container.get(ViewEngine);
this.root = viewEngine.enhance(this.container, this.host, this.resources, bindingContext);
let engine = this.container.get(TemplatingEngine);
this.root = engine.enhance({container: this.container, element: this.host, resources: this.resources, bindingContext: bindingContext});
this.root.attached();
this._onAureliaComposed();
return this;
Expand All @@ -431,18 +425,18 @@ export class Aurelia {
* @return Returns a Promise of the current Aurelia instance.
*/
setRoot(root: string = 'app', applicationHost: string | Element = null): Promise<Aurelia> {
let compositionEngine;
let engine;
let instruction = {};

this._configureHost(applicationHost);

compositionEngine = this.container.get(CompositionEngine);
engine = this.container.get(TemplatingEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = this.hostSlot;
instruction.host = this.host;

return compositionEngine.compose(instruction).then(r => {
return engine.compose(instruction).then(r => {
this.root = r;
instruction.viewSlot.attached();
this._onAureliaComposed();
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'aurelia-framework' {
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
Expand Down
16 changes: 5 additions & 11 deletions dist/commonjs/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@ var Aurelia = (function () {
throw new Error(message);
}

if (!_this5.container.hasResolver(_aureliaTemplating.Animator)) {
_aureliaTemplating.Animator.configureDefault(_this5.container);
}

_aureliaTemplating.templatingEngine.initialize(_this5.container);

_this5.logger.info('Aurelia Started');
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
_aureliaPal.DOM.dispatchEvent(evt);
Expand All @@ -325,8 +319,8 @@ var Aurelia = (function () {
this._configureHost(applicationHost);

return new Promise(function (resolve) {
var viewEngine = _this6.container.get(_aureliaTemplating.ViewEngine);
_this6.root = viewEngine.enhance(_this6.container, _this6.host, _this6.resources, bindingContext);
var engine = _this6.container.get(_aureliaTemplating.TemplatingEngine);
_this6.root = engine.enhance({ container: _this6.container, element: _this6.host, resources: _this6.resources, bindingContext: bindingContext });
_this6.root.attached();
_this6._onAureliaComposed();
return _this6;
Expand All @@ -339,18 +333,18 @@ var Aurelia = (function () {
var root = arguments.length <= 0 || arguments[0] === undefined ? 'app' : arguments[0];
var applicationHost = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

var compositionEngine = undefined;
var engine = undefined;
var instruction = {};

this._configureHost(applicationHost);

compositionEngine = this.container.get(_aureliaTemplating.CompositionEngine);
engine = this.container.get(_aureliaTemplating.TemplatingEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = this.hostSlot;
instruction.host = this.host;

return compositionEngine.compose(instruction).then(function (r) {
return engine.compose(instruction).then(function (r) {
_this7.root = r;
instruction.viewSlot.attached();
_this7._onAureliaComposed();
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'aurelia-framework' {
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
Expand Down
18 changes: 6 additions & 12 deletions dist/es6/aurelia-framework.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import {ViewEngine,BindingLanguage,ViewSlot,ViewResources,CompositionEngine,Animator,templatingEngine} from 'aurelia-templating';
import {ViewEngine,BindingLanguage,ViewSlot,ViewResources,TemplatingEngine} from 'aurelia-templating';
import {join} from 'aurelia-path';
import {Container} from 'aurelia-dependency-injection';
import {Loader} from 'aurelia-loader';
Expand Down Expand Up @@ -393,12 +393,6 @@ export class Aurelia {
throw new Error(message);
}

if (!this.container.hasResolver(Animator)) {
Animator.configureDefault(this.container);
}

templatingEngine.initialize(this.container);

this.logger.info('Aurelia Started');
let evt = DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
DOM.dispatchEvent(evt);
Expand All @@ -416,8 +410,8 @@ export class Aurelia {
this._configureHost(applicationHost);

return new Promise(resolve => {
let viewEngine = this.container.get(ViewEngine);
this.root = viewEngine.enhance(this.container, this.host, this.resources, bindingContext);
let engine = this.container.get(TemplatingEngine);
this.root = engine.enhance({container: this.container, element: this.host, resources: this.resources, bindingContext: bindingContext});
this.root.attached();
this._onAureliaComposed();
return this;
Expand All @@ -431,18 +425,18 @@ export class Aurelia {
* @return Returns a Promise of the current Aurelia instance.
*/
setRoot(root: string = 'app', applicationHost: string | Element = null): Promise<Aurelia> {
let compositionEngine;
let engine;
let instruction = {};

this._configureHost(applicationHost);

compositionEngine = this.container.get(CompositionEngine);
engine = this.container.get(TemplatingEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = this.hostSlot;
instruction.host = this.host;

return compositionEngine.compose(instruction).then(r => {
return engine.compose(instruction).then(r => {
this.root = r;
instruction.viewSlot.attached();
this._onAureliaComposed();
Expand Down
2 changes: 1 addition & 1 deletion dist/system/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module 'aurelia-framework' {
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
Expand Down
22 changes: 7 additions & 15 deletions dist/system/aurelia-framework.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-path', 'aurelia-dependency-injection', 'aurelia-loader', 'aurelia-pal', 'aurelia-binding', 'aurelia-metadata', 'aurelia-task-queue'], function (_export) {
'use strict';

var TheLogManager, ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine, join, Container, Loader, DOM, PLATFORM, logger, FrameworkConfiguration, Aurelia, LogManager;
var TheLogManager, ViewEngine, BindingLanguage, ViewSlot, ViewResources, TemplatingEngine, join, Container, Loader, DOM, PLATFORM, logger, FrameworkConfiguration, Aurelia, LogManager;

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

Expand Down Expand Up @@ -72,9 +72,7 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
BindingLanguage = _aureliaTemplating.BindingLanguage;
ViewSlot = _aureliaTemplating.ViewSlot;
ViewResources = _aureliaTemplating.ViewResources;
CompositionEngine = _aureliaTemplating.CompositionEngine;
Animator = _aureliaTemplating.Animator;
templatingEngine = _aureliaTemplating.templatingEngine;
TemplatingEngine = _aureliaTemplating.TemplatingEngine;

for (var _key4 in _aureliaTemplating) {
if (_key4 !== 'default') _export(_key4, _aureliaTemplating[_key4]);
Expand Down Expand Up @@ -336,12 +334,6 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
throw new Error(message);
}

if (!_this5.container.hasResolver(Animator)) {
Animator.configureDefault(_this5.container);
}

templatingEngine.initialize(_this5.container);

_this5.logger.info('Aurelia Started');
var evt = DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
DOM.dispatchEvent(evt);
Expand All @@ -358,8 +350,8 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
this._configureHost(applicationHost);

return new Promise(function (resolve) {
var viewEngine = _this6.container.get(ViewEngine);
_this6.root = viewEngine.enhance(_this6.container, _this6.host, _this6.resources, bindingContext);
var engine = _this6.container.get(TemplatingEngine);
_this6.root = engine.enhance({ container: _this6.container, element: _this6.host, resources: _this6.resources, bindingContext: bindingContext });
_this6.root.attached();
_this6._onAureliaComposed();
return _this6;
Expand All @@ -372,18 +364,18 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
var root = arguments.length <= 0 || arguments[0] === undefined ? 'app' : arguments[0];
var applicationHost = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

var compositionEngine = undefined;
var engine = undefined;
var instruction = {};

this._configureHost(applicationHost);

compositionEngine = this.container.get(CompositionEngine);
engine = this.container.get(TemplatingEngine);
instruction.viewModel = root;
instruction.container = instruction.childContainer = this.container;
instruction.viewSlot = this.hostSlot;
instruction.host = this.host;

return compositionEngine.compose(instruction).then(function (r) {
return engine.compose(instruction).then(function (r) {
_this7.root = r;
instruction.viewSlot.attached();
_this7._onAureliaComposed();
Expand Down
8 changes: 8 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.18.0 (2015-11-10)


#### Bug Fixes

* **all:** update to work with latest TemplatingEngine ([edf2b5f8](http://github.com/aurelia/framework/commit/edf2b5f8e5a47984219e2be26d7b762b9d7eab7c))


## 0.17.0 (2015-10-13)


Expand Down
14 changes: 7 additions & 7 deletions doc/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"type": {
"type": "reference",
"name": "Loader",
"id": 1506,
"id": 1714,
"moduleName": "\"aurelia-loader\""
}
},
Expand All @@ -71,7 +71,7 @@
"type": {
"type": "reference",
"name": "Container",
"id": 1386,
"id": 1593,
"moduleName": "\"aurelia-dependency-injection\""
}
},
Expand All @@ -89,7 +89,7 @@
"type": {
"type": "reference",
"name": "ViewResources",
"id": 2074,
"id": 2261,
"moduleName": "\"aurelia-templating\""
}
}
Expand Down Expand Up @@ -117,7 +117,7 @@
"type": {
"type": "reference",
"name": "Container",
"id": 1386,
"id": 1593,
"moduleName": "\"aurelia-dependency-injection\""
}
},
Expand All @@ -135,7 +135,7 @@
"type": {
"type": "reference",
"name": "Loader",
"id": 1506,
"id": 1714,
"moduleName": "\"aurelia-loader\""
}
},
Expand All @@ -153,7 +153,7 @@
"type": {
"type": "reference",
"name": "ViewResources",
"id": 2074,
"id": 2261,
"moduleName": "\"aurelia-templating\""
}
},
Expand Down Expand Up @@ -482,7 +482,7 @@
"type": {
"type": "reference",
"name": "Container",
"id": 1386,
"id": 1593,
"moduleName": "\"aurelia-dependency-injection\""
}
},
Expand Down
Loading

0 comments on commit 9f0743a

Please sign in to comment.