chore(): remove old deprecated warnings

This commit is contained in:
Adam Bradley
2016-07-01 01:11:45 -05:00
parent 941cb1d196
commit d8782df933
2 changed files with 1 additions and 15 deletions

View File

@ -240,7 +240,7 @@ export class App {
/** /**
* @private * @private
*/ */
getRegisteredComponent(cls: any): any { private getRegisteredComponent(cls: any): any {
// deprecated warning: added 2016-04-28, beta7 // deprecated warning: added 2016-04-28, beta7
console.warn('Using app.getRegisteredComponent() to query components has been deprecated. ' + console.warn('Using app.getRegisteredComponent() to query components has been deprecated. ' +
'Please use Angular\'s ViewChild annotation instead:\n\nhttp://learnangular2.com/viewChild/'); 'Please use Angular\'s ViewChild annotation instead:\n\nhttp://learnangular2.com/viewChild/');

View File

@ -343,20 +343,6 @@ export class Slides extends Ion {
this.options = {}; 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)) { if (isPresent(this.options.pager)) {
this.showPager = isTrueProperty(this.options.pager); this.showPager = isTrueProperty(this.options.pager);
} }