This commit is contained in:
Max Lynch
2015-11-04 14:03:42 -06:00
parent 4cc9a14001
commit 704b361348

View File

@ -35,9 +35,7 @@ export class Content extends Ion {
* @param {ElementRef} elementRef A reference to the component's DOM element. * @param {ElementRef} elementRef A reference to the component's DOM element.
* @param {Config} config The config object to change content's default settings. * @param {Config} config The config object to change content's default settings.
*/ */
constructor(elementRef: ElementRef, config: Config, keyboard: Keyboard, constructor(elementRef: ElementRef, config: Config, keyboard: Keyboard, @Optional() viewCtrl: ViewController, private _zone: NgZone) {
@Optional() viewCtrl: ViewController) {
private _zone: NgZone) {
super(elementRef, config); super(elementRef, config);
this.scrollPadding = 0; this.scrollPadding = 0;
this.keyboard = keyboard; this.keyboard = keyboard;