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 2eac640 commit fc3f7c5
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 157 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-animator-css",
"version": "0.17.0",
"version": "0.18.0",
"description": "An implementation of the abstract Animator interface from templating which enables css-based animations.",
"keywords": [
"aurelia",
Expand Down
9 changes: 1 addition & 8 deletions dist/amd/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'aurelia-animator-css' {
import { animationEvent, Animator } from 'aurelia-templating';
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
import { DOM } from 'aurelia-pal';
export interface CssAnimation {
className: string;
Expand Down Expand Up @@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
*/
runSequence(animations: Array<CssAnimation>): Promise<boolean>;

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean>;

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down
8 changes: 1 addition & 7 deletions dist/amd/aurelia-animator-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur
});
};

CssAnimator.prototype.move = function move() {
return Promise.resolve(false);
};

CssAnimator.prototype.enter = function enter(element) {
var _this4 = this;

Expand Down Expand Up @@ -419,9 +415,7 @@ define(['exports', 'aurelia-templating', 'aurelia-pal'], function (exports, _aur

function configure(config, callback) {
var animator = config.container.get(CssAnimator);

_aureliaTemplating.Animator.configureDefault(config.container, animator);

config.container.get(_aureliaTemplating.TemplatingEngine).configureAnimator(animator);
if (typeof callback === 'function') {
callback(animator);
}
Expand Down
9 changes: 1 addition & 8 deletions dist/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'aurelia-animator-css' {
import { animationEvent, Animator } from 'aurelia-templating';
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
import { DOM } from 'aurelia-pal';
export interface CssAnimation {
className: string;
Expand Down Expand Up @@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
*/
runSequence(animations: Array<CssAnimation>): Promise<boolean>;

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean>;

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down
19 changes: 3 additions & 16 deletions dist/aurelia-animator-css.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {animationEvent,Animator} from 'aurelia-templating';
import {animationEvent,TemplatingEngine} from 'aurelia-templating';
import {DOM} from 'aurelia-pal';

interface CssAnimation {
Expand Down Expand Up @@ -158,15 +158,6 @@ export class CssAnimator {
});
}

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean> {
return Promise.resolve(false);
}

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down Expand Up @@ -558,10 +549,6 @@ export class CssAnimator {

export function configure(config: Object, callback?:(animator:CssAnimator) => void) {
let animator = config.container.get(CssAnimator);

Animator.configureDefault(config.container, animator);

if (typeof callback === 'function') {
callback(animator);
}
config.container.get(TemplatingEngine).configureAnimator(animator);
if (typeof callback === 'function') { callback(animator); }
}
9 changes: 1 addition & 8 deletions dist/commonjs/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'aurelia-animator-css' {
import { animationEvent, Animator } from 'aurelia-templating';
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
import { DOM } from 'aurelia-pal';
export interface CssAnimation {
className: string;
Expand Down Expand Up @@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
*/
runSequence(animations: Array<CssAnimation>): Promise<boolean>;

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean>;

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down
8 changes: 1 addition & 7 deletions dist/commonjs/aurelia-animator-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ var CssAnimator = (function () {
});
};

CssAnimator.prototype.move = function move() {
return Promise.resolve(false);
};

CssAnimator.prototype.enter = function enter(element) {
var _this4 = this;

Expand Down Expand Up @@ -422,9 +418,7 @@ exports.CssAnimator = CssAnimator;

function configure(config, callback) {
var animator = config.container.get(CssAnimator);

_aureliaTemplating.Animator.configureDefault(config.container, animator);

config.container.get(_aureliaTemplating.TemplatingEngine).configureAnimator(animator);
if (typeof callback === 'function') {
callback(animator);
}
Expand Down
9 changes: 1 addition & 8 deletions dist/es6/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'aurelia-animator-css' {
import { animationEvent, Animator } from 'aurelia-templating';
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
import { DOM } from 'aurelia-pal';
export interface CssAnimation {
className: string;
Expand Down Expand Up @@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
*/
runSequence(animations: Array<CssAnimation>): Promise<boolean>;

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean>;

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down
19 changes: 3 additions & 16 deletions dist/es6/aurelia-animator-css.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {animationEvent,Animator} from 'aurelia-templating';
import {animationEvent,TemplatingEngine} from 'aurelia-templating';
import {DOM} from 'aurelia-pal';

interface CssAnimation {
Expand Down Expand Up @@ -158,15 +158,6 @@ export class CssAnimator {
});
}

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean> {
return Promise.resolve(false);
}

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down Expand Up @@ -558,10 +549,6 @@ export class CssAnimator {

export function configure(config: Object, callback?:(animator:CssAnimator) => void) {
let animator = config.container.get(CssAnimator);

Animator.configureDefault(config.container, animator);

if (typeof callback === 'function') {
callback(animator);
}
config.container.get(TemplatingEngine).configureAnimator(animator);
if (typeof callback === 'function') { callback(animator); }
}
9 changes: 1 addition & 8 deletions dist/system/aurelia-animator-css.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'aurelia-animator-css' {
import { animationEvent, Animator } from 'aurelia-templating';
import { animationEvent, TemplatingEngine } from 'aurelia-templating';
import { DOM } from 'aurelia-pal';
export interface CssAnimation {
className: string;
Expand Down Expand Up @@ -30,13 +30,6 @@ declare module 'aurelia-animator-css' {
*/
runSequence(animations: Array<CssAnimation>): Promise<boolean>;

/**
* Stub of move interface method
*
* @returns
*/
move(): Promise<boolean>;

/**
* Performs the enter animation for the given element, triggered by a [my-class]-enter-active css-class
*
Expand Down
12 changes: 3 additions & 9 deletions dist/system/aurelia-animator-css.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
System.register(['aurelia-templating', 'aurelia-pal'], function (_export) {
'use strict';

var animationEvent, Animator, DOM, CssAnimator;
var animationEvent, TemplatingEngine, DOM, CssAnimator;

_export('configure', configure);

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

function configure(config, callback) {
var animator = config.container.get(CssAnimator);

Animator.configureDefault(config.container, animator);

config.container.get(TemplatingEngine).configureAnimator(animator);
if (typeof callback === 'function') {
callback(animator);
}
Expand All @@ -20,7 +18,7 @@ System.register(['aurelia-templating', 'aurelia-pal'], function (_export) {
return {
setters: [function (_aureliaTemplating) {
animationEvent = _aureliaTemplating.animationEvent;
Animator = _aureliaTemplating.Animator;
TemplatingEngine = _aureliaTemplating.TemplatingEngine;
}, function (_aureliaPal) {
DOM = _aureliaPal.DOM;
}],
Expand Down Expand Up @@ -131,10 +129,6 @@ System.register(['aurelia-templating', 'aurelia-pal'], function (_export) {
});
};

CssAnimator.prototype.move = function move() {
return Promise.resolve(false);
};

CssAnimator.prototype.enter = function enter(element) {
var _this4 = this;

Expand Down
9 changes: 9 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 0.18.0 (2015-11-10)


#### Bug Fixes

* **all:** update to use TemplatingEngine to install animator ([a06a44e9](https://github.com/aurelia/animator-css/commit/a06a44e94f1bff4546e7ad50f119fcc0c5daf5d1))
* **animator:** remove unneeded move method ([2eac6407](https://github.com/aurelia/animator-css/commit/2eac6407ad92f72997f6566e3c3011963733dc82))


## 0.17.0 (2015-10-13)


Expand Down
Loading

0 comments on commit fc3f7c5

Please sign in to comment.