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

@ -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);
}