refactor(decorators): remove ConfigComponent

This commit is contained in:
Adam Bradley
2016-01-11 22:51:54 -06:00
parent ccec2fd502
commit 88aad3f880
19 changed files with 66 additions and 148 deletions

View File

@ -5,7 +5,6 @@ import {Ion} from '../ion';
import {Animation} from '../../animations/animation';
import {Gesture} from '../../gestures/gesture';
import {DragGesture} from '../../gestures/drag-gesture';
import {Config} from '../../config/config';
import {dom} from '../../util';
import {CSS} from '../../util/dom';
import * as util from '../../util';
@ -98,9 +97,9 @@ export class Slides extends Ion {
* @private
* @param {ElementRef} elementRef TODO
*/
constructor(elementRef: ElementRef, config: Config) {
constructor(elementRef: ElementRef) {
super(elementRef, config);
super(elementRef);
this.rapidUpdate = util.debounce(() => {
this.update();
}, 10);