From fed473f99a63d1c9d7c8d1288cd7dcca871bb2c8 Mon Sep 17 00:00:00 2001 From: Dmitriy Schekhovtsov Date: Fri, 6 May 2016 14:51:57 -0600 Subject: [PATCH] fix(collapse): removed dependecy to animation builder helps to use ng2-bootstrap with system.js --- components/collapse/collapse.directive.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/collapse/collapse.directive.ts b/components/collapse/collapse.directive.ts index 5c1502c018..fe3d6305eb 100644 --- a/components/collapse/collapse.directive.ts +++ b/components/collapse/collapse.directive.ts @@ -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'; @@ -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; }