Big replacement: bool with boolean

This commit is contained in:
Boris Yankov
2013-08-07 16:59:39 +03:00
parent bded8a8af5
commit dd35f69637
128 changed files with 4254 additions and 4240 deletions
+9 -9
View File
@@ -9,16 +9,16 @@ interface iScrollEvent {
}
interface iScrollOptions {
hScroll?: bool;
vScroll?: bool;
hScroll?: boolean;
vScroll?: boolean;
x?: number;
y?: number;
bounce?: bool;
bounceLock?: bool;
momentum?: bool;
lockDirection?: bool;
useTransform?: bool;
useTransition?: bool;
bounce?: boolean;
bounceLock?: boolean;
momentum?: boolean;
lockDirection?: boolean;
useTransform?: boolean;
useTransition?: boolean;
// Events
onRefresh?: iScrollEvent;
@@ -39,7 +39,7 @@ declare class iScroll {
destroy(): void;
refresh(): void;
scrollTo(x: number, y: number, time: number, relative: bool): void;
scrollTo(x: number, y: number, time: number, relative: boolean): void;
scrollToElement(element: string, time: number): void;
disable(): void;
enalbe(): void;
+18 -18
View File
@@ -9,30 +9,30 @@ interface iScrollEvent {
}
interface iScrollOptions {
hScroll?: bool;
vScroll?: bool;
hScroll?: boolean;
vScroll?: boolean;
x?: number;
y?: number;
bounce?: bool;
bounceLock?: bool;
momentum?: bool;
lockDirection?: bool;
useTransform?: bool;
useTransition?: bool;
bounce?: boolean;
bounceLock?: boolean;
momentum?: boolean;
lockDirection?: boolean;
useTransform?: boolean;
useTransition?: boolean;
topOffset?: number;
checkDOMChanges?: bool;
handleClick?: bool;
checkDOMChanges?: boolean;
handleClick?: boolean;
// Scrollbar
hScrollbar?: bool;
vScrollbar?: bool;
fixedScrollbar?: bool;
hideScrollbar?: bool;
fadeScrollbar?: bool;
hScrollbar?: boolean;
vScrollbar?: boolean;
fixedScrollbar?: boolean;
hideScrollbar?: boolean;
fadeScrollbar?: boolean;
scrollbarClass?: string;
// Zoom
zoom?: bool;
zoom?: boolean;
zoomMin?: number;
zoomMax?: number;
doubleTapZoom?: number;
@@ -64,12 +64,12 @@ declare class iScroll {
destroy(): void;
refresh(): void;
scrollTo(x: number, y: number, time: number, relative: bool): void;
scrollTo(x: number, y: number, time: number, relative: boolean): void;
scrollToElement(element: string, time: number): void;
scrollToPage(pageX: number, pageY: number, time: number): void;
disable(): void;
enalbe(): void;
stop(): void;
zoom(x: number, y: number, scale: number, time: number): void;
isReady(): bool;
isReady(): boolean;
}