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
+15 -15
View File
@@ -26,21 +26,21 @@ declare module Backbone {
//mixins from Collection (copied from Backbone's Collection declaration)
all(iterator: (element: View, index: number) => bool, context?: any): bool;
any(iterator: (element: View, index: number) => bool, context?: any): bool;
contains(value: any): bool;
all(iterator: (element: View, index: number) => bool, context?: any): boolean;
any(iterator: (element: View, index: number) => bool, context?: any): boolean;
contains(value: any): boolean;
detect(iterator: (item: any) => bool, context?: any): any;
each(iterator: (element: View, index: number, list?: any) => void , context?: any);
every(iterator: (element: View, index: number) => bool, context?: any): bool;
every(iterator: (element: View, index: number) => bool, context?: any): boolean;
filter(iterator: (element: View, index: number) => bool, context?: any): View[];
find(iterator: (element: View, index: number) => bool, context?: any): View;
first(): View;
forEach(iterator: (element: View, index: number, list?: any) => void , context?: any);
include(value: any): bool;
include(value: any): boolean;
initial(): View;
initial(n: number): View[];
invoke(methodName: string, arguments?: any[]);
isEmpty(object: any): bool;
isEmpty(object: any): boolean;
last(): View;
last(n: number): View[];
lastIndexOf(element: View, fromIndex?: number): number;
@@ -50,7 +50,7 @@ declare module Backbone {
rest(): View;
rest(n: number): View[];
select(iterator: any, context?: any): any[];
some(iterator: (element: View, index: number) => bool, context?: any): bool;
some(iterator: (element: View, index: number) => bool, context?: any): boolean;
toArray(): any[];
without(...values: any[]): View[];
}
@@ -65,7 +65,7 @@ declare module Backbone {
options: any;
setHandler(name: string, handler: any, context: any): void;
hasHandler(name: string): bool;
hasHandler(name: string): boolean;
getHandler(name: string): Function;
removeHandler(name: string);
removeAllHandlers(): void;
@@ -145,21 +145,21 @@ declare module Marionette {
//mixins from Collection (copied from Backbone's Collection declaration)
all(iterator: (element: Region, index: number) => bool, context?: any): bool;
any(iterator: (element: Region, index: number) => bool, context?: any): bool;
contains(value: any): bool;
all(iterator: (element: Region, index: number) => bool, context?: any): boolean;
any(iterator: (element: Region, index: number) => bool, context?: any): boolean;
contains(value: any): boolean;
detect(iterator: (item: any) => bool, context?: any): any;
each(iterator: (element: Region, index: number, list?: any) => void , context?: any);
every(iterator: (element: Region, index: number) => bool, context?: any): bool;
every(iterator: (element: Region, index: number) => bool, context?: any): boolean;
filter(iterator: (element: Region, index: number) => bool, context?: any): Region[];
find(iterator: (element: Region, index: number) => bool, context?: any): Region;
first(): Region;
forEach(iterator: (element: Region, index: number, list?: any) => void , context?: any);
include(value: any): bool;
include(value: any): boolean;
initial(): Region;
initial(n: number): Region[];
invoke(methodName: string, arguments?: any[]);
isEmpty(object: any): bool;
isEmpty(object: any): boolean;
last(): Region;
last(n: number): Region[];
lastIndexOf(element: Region, fromIndex?: number): number;
@@ -169,7 +169,7 @@ declare module Marionette {
rest(): Region;
rest(n: number): Region[];
select(iterator: any, context?: any): any[];
some(iterator: (element: Region, index: number) => bool, context?: any): bool;
some(iterator: (element: Region, index: number) => bool, context?: any): boolean;
toArray(): any[];
without(...values: any[]): Region[];
}