Skip to content

Commit

Permalink
fix(collapse): animate is not available for system.js
Browse files Browse the repository at this point in the history
use angular2/animate when
angular/angular#5984
will be fixed
  • Loading branch information
valorkin committed Mar 31, 2016
1 parent 55b8e57 commit b28fd5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/collapse/collapse.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import {Directive, OnInit, ElementRef, Input, HostBinding} from 'angular2/core';
import {AnimationBuilder} from 'angular2/animate';
// fix: replace with // 'angular2/animate';
// when https://github.com/angular/angular/issues/5984 will be fixed
import {AnimationBuilder} from 'angular2/src/animate/animation_builder';

// TODO: remove ElementRef
// TODO: add on change
Expand Down

0 comments on commit b28fd5d

Please sign in to comment.