chore: remove deprecated warnings

This commit is contained in:
Adam Bradley
2016-04-14 13:51:23 -05:00
parent f9b46c26cc
commit 3d8976ac3c
2 changed files with 1 additions and 16 deletions

View File

@ -35,7 +35,7 @@ import {Config} from '../../config/config';
*
*/
@Directive({
selector: 'ion-icon,icon',
selector: 'ion-icon',
host: {
'role': 'img'
}
@ -58,13 +58,6 @@ export class Icon {
private _renderer: Renderer
) {
this.mode = config.get('iconMode');
if (_elementRef.nativeElement.tagName === 'ICON') {
// deprecated warning
console.warn('<icon> has been renamed to <ion-icon>');
console.warn('<ion-icon> requires the "name" attribute w/ a value');
console.warn('<icon home></icon> should now be <ion-icon name="home"></ion-icon>');
}
}
/**

View File

@ -319,14 +319,6 @@ export class NavController extends Ion {
return promise;
}
/**
* @private
*/
private setViews(components, opts?: NavOptions) {
console.warn('setViews() deprecated, use setPages() instead');
return this.setPages(components, opts);
}
/**
* Push is how we can pass components and navigate to them. We push the component
* we want to navigate to on to the navigation stack.