Skip to content

Commit 27fa4c6

Browse files
committed
typo's fixed
1 parent c46ee6c commit 27fa4c6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nativescript-intro-slides.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class IntroSlides extends AbsoluteLayout implements AddChildFromBuilder {
6161

6262
panelMap1.panel.width = pageWidth;
6363
if (isNaN(footer.height)) {
64-
footer.height = 76;
64+
footer.height = 76; //footer min height
6565
}
6666
AbsoluteLayout.setTop(footer, (pageHeight - footer.height));
6767
SlideUtilities.applySwipe(this, pageWidth, panelMap1, btnPrevious, btnNext);
@@ -97,8 +97,8 @@ export class IntroSlides extends AbsoluteLayout implements AddChildFromBuilder {
9797
this.setwidthPercent(footerInnerWrapLeft, 30);
9898
this.setwidthPercent(footerInnerWrapMiddle, 40);
9999

100-
footerInnerWrapLeft.addChild(this.newButtoner('Previous'));
101-
footerInnerWrapRight.addChild(this.newButtoner('Next'));
100+
footerInnerWrapLeft.addChild(this.newFooterButton('Previous'));
101+
footerInnerWrapRight.addChild(this.newFooterButton('Next'));
102102

103103
footerInnerWrap.addChild(footerInnerWrapLeft);
104104
footerInnerWrap.addChild(footerInnerWrapMiddle);
@@ -112,7 +112,7 @@ export class IntroSlides extends AbsoluteLayout implements AddChildFromBuilder {
112112

113113
}
114114

115-
private newButtoner(name: string): Button {
115+
private newFooterButton(name: string): Button {
116116
let button = new Button();
117117
button.id = 'btn-info-' + name.toLowerCase();
118118
button.text = name;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-intro-slides",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "NativeScript intro slides plugin.",
55
"main": "nativescript-intro-slides.js",
66
"nativescript": {

0 commit comments

Comments
 (0)