Skip to content

Commit

Permalink
chore(all): prepare release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 25, 2015
1 parent bc1ff2b commit 64cfe25
Show file tree
Hide file tree
Showing 59 changed files with 2,871 additions and 3,102 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains an extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.

> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.durandal.io/). If you have questions, we invite you to join us on [our Gitter Channel](https://gitter.im/aurelia/discuss).
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.durandal.io/). If you have questions, we invite you to join us on [![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge).
## Polyfills

Expand Down
20 changes: 10 additions & 10 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating",
"version": "0.8.14",
"version": "0.9.0",
"description": "An extensible HTML templating engine supporting databinding, custom elements, attached behaviors and more.",
"keywords": [
"aurelia",
Expand All @@ -19,14 +19,14 @@
"url": "http://github.com/aurelia/templating"
},
"dependencies": {
"aurelia-binding": "^0.3.2",
"aurelia-dependency-injection": "^0.4.1",
"aurelia-html-template-element": "^0.1.2",
"aurelia-loader": "^0.3.3",
"aurelia-logging": "^0.2.2",
"aurelia-metadata": "^0.3.0",
"aurelia-path": "^0.4.1",
"aurelia-task-queue": "^0.2.2",
"aurelia-binding": "^0.4.0",
"aurelia-dependency-injection": "^0.5.0",
"aurelia-html-template-element": "^0.1.3",
"aurelia-loader": "^0.4.0",
"aurelia-logging": "^0.2.6",
"aurelia-metadata": "^0.3.4",
"aurelia-path": "^0.4.6",
"aurelia-task-queue": "^0.2.5",
"core-js": "zloirock/core-js"
}
}
}
28 changes: 15 additions & 13 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,33 @@ System.config({

System.config({
"map": {
"aurelia-binding": "github:aurelia/binding@0.3.7",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.4.5",
"aurelia-binding": "github:aurelia/binding@0.4.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.5.0",
"aurelia-html-template-element": "github:aurelia/html-template-element@0.1.3",
"aurelia-loader": "github:aurelia/loader@0.3.5",
"aurelia-logging": "github:aurelia/logging@0.2.5",
"aurelia-metadata": "github:aurelia/metadata@0.3.3",
"aurelia-path": "github:aurelia/path@0.4.5",
"aurelia-loader": "github:aurelia/loader@0.4.0",
"aurelia-logging": "github:aurelia/logging@0.2.6",
"aurelia-metadata": "github:aurelia/metadata@0.3.4",
"aurelia-path": "github:aurelia/path@0.4.6",
"aurelia-task-queue": "github:aurelia/task-queue@0.2.5",
"core-js": "npm:core-js@0.4.10",
"github:aurelia/binding@0.3.7": {
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.4.5",
"aurelia-metadata": "github:aurelia/metadata@0.3.3",
"github:aurelia/binding@0.4.0": {
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.5.0",
"aurelia-metadata": "github:aurelia/metadata@0.3.4",
"aurelia-task-queue": "github:aurelia/task-queue@0.2.5"
},
"github:aurelia/dependency-injection@0.4.5": {
"aurelia-metadata": "github:aurelia/metadata@0.3.3",
"github:aurelia/dependency-injection@0.5.0": {
"aurelia-logging": "github:aurelia/logging@0.2.6",
"aurelia-metadata": "github:aurelia/metadata@0.3.4",
"core-js": "npm:core-js@0.4.10"
},
"github:aurelia/loader@0.3.5": {
"github:aurelia/loader@0.4.0": {
"aurelia-html-template-element": "github:aurelia/html-template-element@0.1.3",
"aurelia-path": "github:aurelia/path@0.4.6",
"core-js": "npm:core-js@0.4.10",
"webcomponentsjs": "github:webcomponents/webcomponentsjs@0.5.5"
},
"github:jspm/nodelibs-process@0.1.1": {
"process": "npm:process@0.10.0"
"process": "npm:process@0.10.1"
},
"npm:core-js@0.4.10": {
"process": "github:jspm/nodelibs-process@0.1.1"
Expand Down
39 changes: 6 additions & 33 deletions dist/amd/animator.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,17 @@ define(["exports"], function (exports) {
var Animator = exports.Animator = (function () {
function Animator() {
_classCallCheck(this, Animator);

Animator.instance = this;
this.animationStack = [];
}

_prototypeProperties(Animator, null, {
addMultipleEventListener: {
value: function addMultipleEventListener(el, s, fn) {
var evts = s.split(" "),
i,
ii;

for (i = 0, ii = evts.length; i < ii; ++i) {
el.addEventListener(evts[i], fn, false);
}
},
writable: true,
configurable: true
},
addAnimationToStack: {
value: function addAnimationToStack(animId) {
if (this.animationStack.indexOf(animId) < 0) {
this.animationStack.push(animId);
}
_prototypeProperties(Animator, {
configureDefault: {
value: function configureDefault(container, animatorInstance) {
container.registerInstance(Animator, Animator.instance = animatorInstance || new Animator());
},
writable: true,
configurable: true
},
removeAnimationFromStack: {
value: function removeAnimationFromStack(animId) {
var idx = this.animationStack.indexOf(animId);
if (idx > -1) {
this.animationStack.splice(idx, 1);
}
},
writable: true,
configurable: true
},
}
}, {
move: {
value: function move() {
return Promise.resolve(false);
Expand Down
23 changes: 21 additions & 2 deletions dist/amd/behavior-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ define(["exports"], function (exports) {

this.behavior = behavior;
this.executionContext = executionContext;
this.isAttached = false;

var observerLookup = behavior.observerLocator.getObserversLookup(executionContext),
handlesBind = behavior.handlesBind,
Expand Down Expand Up @@ -96,17 +97,35 @@ define(["exports"], function (exports) {
},
attached: {
value: function attached() {
if (this.isAttached) {
return;
}

this.isAttached = true;

if (this.behavior.handlesAttached) {
this.executionContext.attached();
}

if (this.view) {
this.view.attached();
}
},
writable: true,
configurable: true
},
detached: {
value: function detached() {
if (this.behavior.handlesDetached) {
this.executionContext.detached();
if (this.isAttached) {
this.isAttached = false;

if (this.view) {
this.view.detached();
}

if (this.behavior.handlesDetached) {
this.executionContext.detached();
}
}
},
writable: true,
Expand Down
Loading

0 comments on commit 64cfe25

Please sign in to comment.