Merge pull request #749 from rwhepburn/master

Changed bool -> boolean to align with TypeScript 0.9
This commit is contained in:
Boris Yankov
2013-07-06 03:07:00 -07:00
4 changed files with 27 additions and 27 deletions
+10 -10
View File
@@ -7,16 +7,16 @@
/// <reference path="../jquery/jquery.d.ts"/>
interface ModalOptions {
backdrop?: bool;
keyboard?: bool;
show?: bool;
backdrop?: boolean;
keyboard?: boolean;
show?: boolean;
remote?: string;
}
interface ModalOptionsBackdropString {
backdrop?: string; // for "static"
keyboard?: bool;
show?: bool;
keyboard?: boolean;
show?: boolean;
remote?: string;
}
@@ -25,8 +25,8 @@ interface ScrollSpyOptions {
}
interface TooltipOptions {
animation?: bool;
html?: bool;
animation?: boolean;
html?: boolean;
placement?: any;
selector?: string;
title?: any;
@@ -35,8 +35,8 @@ interface TooltipOptions {
}
interface PopoverOptions {
animation?: bool;
html?: bool;
animation?: boolean;
html?: boolean;
placement?: any;
selector?: string;
trigger?: string;
@@ -47,7 +47,7 @@ interface PopoverOptions {
interface CollapseOptions {
parent?: any;
toggle?: bool;
toggle?: boolean;
}
interface CarouselOptions {
+13 -13
View File
@@ -20,28 +20,28 @@ interface I18nextOptions {
lng?: string; // Default value: undefined
load?: string; // Default value: 'all'
preload?: string[]; // Default value: []
lowerCaseLng?: bool; // Default value: false
returnObjectTrees?: bool; // Default value: false
lowerCaseLng?: boolean; // Default value: false
returnObjectTrees?: boolean; // Default value: false
fallbackLng?: string; // Default value: 'dev'
detectLngQS?: string; // Default value: 'setLng'
ns?: any; // Default value: 'translation' (string), can also be an object
nsseparator?: string; // Default value: '::'
keyseparator?: string; // Default value: '.'
selectorAttr?: string; // Default value: 'data-i18n'
debug?: bool; // Default value: false
debug?: boolean; // Default value: false
resGetPath?: string; // Default value: 'locales/__lng__/__ns__.json'
resPostPath?: string; // Default value: 'locales/add/__lng__/__ns__'
getAsync?: bool; // Default value: true
postAsync?: bool; // Default value: true
getAsync?: boolean; // Default value: true
postAsync?: boolean; // Default value: true
resStore?: IResourceStore; // Default value: undefined
useLocalStorage?: bool; // Default value: false
useLocalStorage?: boolean; // Default value: false
localStorageExpirationTime?: number; // Default value: 7 * 24 * 60 * 60 * 1000 (in ms default one week)
dynamicLoad?: bool; // Default value: false
sendMissing?: bool; // Default value: false
dynamicLoad?: boolean; // Default value: false
sendMissing?: boolean; // Default value: false
sendMissingTo?: string; // Default value: 'fallback'. Other options are: current | all
sendType?: string; // Default value: 'POST'
@@ -53,11 +53,11 @@ interface I18nextOptions {
pluralNotFound?: string; // Default value: ['plural_not_found' Math.random()].join( '' )
contextNotFound?: string; // Default value: ['context_not_found' Math.random()].join( '' )
setJqueryExt?: bool; // Default value: true
defaultValueFromContent?: bool; // Default value: true
useDataAttrOptions?: bool; // Default value: false
setJqueryExt?: boolean; // Default value: true
defaultValueFromContent?: boolean; // Default value: true
useDataAttrOptions?: boolean; // Default value: false
cookieExpirationTime?: number; // Default value: undefined
useCookie?: bool; // Default value: true
useCookie?: boolean; // Default value: true
cookieName?: string; // Default value: 'i18next'
postProcess?: string; // Default value: undefined
@@ -69,7 +69,7 @@ interface I18nextStatic {
detectLanguage(): string;
functions: {
extend(target: any, ...objs: any[]): Object;
extend(deep: bool, target: any, ...objs: any[]): Object;
extend(deep: boolean, target: any, ...objs: any[]): Object;
each(collection: any, callback: (indexInArray: any, valueOfElement: any) => any): any;
ajax(settings: JQueryAjaxSettings): JQueryXHR;
ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR;
+1 -1
View File
@@ -23,7 +23,7 @@ interface NumeralJSLanguage {
interface Numeral {
(value?: any): Numeral;
version: string;
isNumeral: bool;
isNumeral: boolean;
language(key: string, values?: NumeralJSLanguage): Numeral;
zeroFormat(format: string): string;
clone(): Numeral;
+3 -3
View File
@@ -10,7 +10,7 @@ interface ToastrOptions {
/**
* Should clicking on toast dismiss it?
*/
tapToDismiss?: bool;
tapToDismiss?: boolean;
/**
* CSS class the toast element will be given
*/
@@ -22,7 +22,7 @@ interface ToastrOptions {
/**
* Should debug details be outputted to the console
*/
debug?: bool;
debug?: boolean;
/**
* Time in milliseconds the toast should take to fade in
*/
@@ -88,7 +88,7 @@ interface ToastrOptions {
/**
* Set newest toast to appear on top
**/
newestOnTop?: bool;
newestOnTop?: boolean;
/**
* Function to execute on toast click