test(nav): fix ngfactory error

This commit is contained in:
Adam Bradley
2016-11-29 21:07:41 -06:00
parent a79678625f
commit 645e712949
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ const TEMPLATE: string = `
`;
export class Base {
constructor(private _name: string) { }
constructor(public _name: string) { }
ionViewWillLoad() {
log(`${this._name} willLoad`);
}

View File

@ -135,7 +135,7 @@ export function setupEvents(platform: Platform, dom: DomController): Events {
let content = <HTMLElement>el.closest('.scroll-content');
if (content) {
var scroll = new ScrollView(content, dom);
var scroll = new ScrollView(content);
// We need to stop scrolling if it's happening and scroll up
content.style['WebkitBackfaceVisibility'] = 'hidden';