Permalink
Browse files

fix(deps): remove templating-resources dep

remove dependency to templating-resources for the sake of easier bundling
  • Loading branch information...
zewa666 committed Jul 31, 2017
1 parent 16fdcd6 commit a7fedb82760b6df1c911861869c5f53d07c419f8
Showing with 3 additions and 3 deletions.
  1. +0 −1 package.json
  2. +3 −2 src/animator.js
View
@@ -51,7 +51,6 @@
"aurelia-metadata": "^1.0.0",
"aurelia-pal": "^1.0.0",
"aurelia-templating": "^1.0.0",
"aurelia-templating-resources": "^1.0.0",
"velocity-animate": "^1.2.3"
},
"devDependencies": {
View
@@ -1,9 +1,10 @@
import velocity from 'velocity-animate';
import 'velocity-animate/velocity.ui';
import { animationEvent } from 'aurelia-templating';
import { aureliaHideClassName} from 'aurelia-templating-resources/aurelia-hide-style';
import {DOM, PLATFORM} from 'aurelia-pal';
const aureliaHideClassName = 'aurelia-hide';
/**
* An implementation of the Animator using Velocity.
*/
@@ -420,7 +421,7 @@ export class VelocityAnimator {
}
}
function dispatch(element, name):boid {
function dispatch(element, name):void {
let evt = DOM.createCustomEvent(animationEvent[name], {bubbles: true, cancelable: true, detail: element});
DOM.dispatchEvent(evt);
}

0 comments on commit a7fedb8

Please sign in to comment.