Skip to content

Commit

Permalink
fix(collapse): removed dependecy to animation builder
Browse files Browse the repository at this point in the history
helps to use ng2-bootstrap with system.js
  • Loading branch information
valorkin committed May 6, 2016
1 parent 6945ad9 commit fed473f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/collapse/collapse.directive.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// FIX: in order to update to rc.1 had to disable animation, sorry
import {Directive, OnInit, ElementRef, Input, HostBinding, Renderer} from '@angular/core';
import {AnimationBuilder} from '@angular/platform-browser/src/animate/animation_builder';
// import {AnimationBuilder} from '@angular/platform-browser/src/animate/animation_builder';

// import {animation, style, animate, state, transition} from '@angular/core';

Expand Down Expand Up @@ -59,12 +59,12 @@ export class CollapseDirective implements OnInit {
return this.isExpanded;
}
// private open: boolean;
private _ab:AnimationBuilder;
// private _ab:AnimationBuilder;
private _el:ElementRef;
private _renderer:Renderer;

public constructor(_ab:AnimationBuilder, _el:ElementRef, _renderer: Renderer) {
this._ab = _ab;
public constructor(/*_ab:AnimationBuilder, */_el:ElementRef, _renderer: Renderer) {
// this._ab = _ab;
this._el = _el;
this._renderer = _renderer;
}
Expand Down

0 comments on commit fed473f

Please sign in to comment.