Skip to content

Commit b28fd5d

Browse files
committed
fix(collapse): animate is not available for system.js
use angular2/animate when angular/angular#5984 will be fixed
1 parent 55b8e57 commit b28fd5d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

components/collapse/collapse.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import {Directive, OnInit, ElementRef, Input, HostBinding} from 'angular2/core';
2-
import {AnimationBuilder} from 'angular2/animate';
2+
// fix: replace with // 'angular2/animate';
3+
// when https://github.com/angular/angular/issues/5984 will be fixed
4+
import {AnimationBuilder} from 'angular2/src/animate/animation_builder';
35

46
// TODO: remove ElementRef
57
// TODO: add on change

0 commit comments

Comments
 (0)