mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(): remove old deprecated warnings
This commit is contained in:
@ -240,7 +240,7 @@ export class App {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
getRegisteredComponent(cls: any): any {
|
||||
private getRegisteredComponent(cls: any): any {
|
||||
// deprecated warning: added 2016-04-28, beta7
|
||||
console.warn('Using app.getRegisteredComponent() to query components has been deprecated. ' +
|
||||
'Please use Angular\'s ViewChild annotation instead:\n\nhttp://learnangular2.com/viewChild/');
|
||||
|
@ -343,20 +343,6 @@ export class Slides extends Ion {
|
||||
this.options = {};
|
||||
}
|
||||
|
||||
if (isPresent(this.pager)) {
|
||||
// beta.5 2016-04-18 deprecated warning
|
||||
// Pager should be passed as an option
|
||||
console.warn('The "pager" attribute has been deprecated. Please pass it in options.');
|
||||
// Remove this with the deprecation warning
|
||||
this.showPager = isTrueProperty(this.pager);
|
||||
}
|
||||
|
||||
if (isPresent(this.zoom)) {
|
||||
// beta.5 2016-04-18 deprecated warning
|
||||
// Zoom should be passed as an option
|
||||
console.warn('The "zoom" attribute has been deprecated. Please pass it in options.');
|
||||
}
|
||||
|
||||
if (isPresent(this.options.pager)) {
|
||||
this.showPager = isTrueProperty(this.options.pager);
|
||||
}
|
||||
|
Reference in New Issue
Block a user