From 8f5faa4841838aeafdd63d446f9b5339ccfe2e34 Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Wed, 2 Dec 2015 16:18:40 +0100 Subject: [PATCH 1/6] update fs --- foundation-sites/foundation.d.ts | 216 +++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 foundation-sites/foundation.d.ts diff --git a/foundation-sites/foundation.d.ts b/foundation-sites/foundation.d.ts new file mode 100644 index 000000000..3f0a99ade --- /dev/null +++ b/foundation-sites/foundation.d.ts @@ -0,0 +1,216 @@ +// Type definitions for Foundation Sites v6.0.4 +// Project: http://foundation.zurb.com/ +// Definitions by: Sam Vloeberghs +// Definitions: https://github.com/borisyankov/DefinitelyTyped + + +/// + +declare module Foundation { + + // http://foundation.zurb.com/sites/docs/abide.html#javascript-reference + export interface Abide { + requiredCheck: (element: Object) => boolean; + findLabel: (element:Object) => boolean; + addErrorClasses: (element: Object) => void; + removeErrorClasses: (element:Object) => void; + validateInput: (element: Object, form: Object) => void; + validateForm: (element: Object) => void; + validateText: (element: Object) => boolean; + validateRadio: (group: String) => boolean; + resetform: ($form: Object) => void; + } + interface AbideOptions { + + } + + // http://foundation.zurb.com/sites/docs/accordion.html#javascript-reference + export interface Accordion { + toggle: ($target : JQuery) => void; + down: ($target : JQuery, firstTime: boolean) => void; + up: ($target: JQuery) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/accordion-menu.html#javascript-reference + export interface AccordionMenu { + toggle: ($target : JQuery) => void; + down: ($target : JQuery, firstTime: boolean) => void; + up: ($target: JQuery) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/drilldown-menu.html#javascript-reference + export interface Drilldown { + _hideAll: ($elem : JQuery) => void; + _show: ($elem : JQuery) => void; + _hide: ($elem : JQuery) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/dropdown.html#javascript-reference + export interface Dropdown { + getPositionClass: () => String; + open: () => void; + close: () => void; + toggle: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/dropdown-menu.html#javascript-reference + export interface DropdownMenu { + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/equalizer.html#javascript-reference + export interface Equalizer { + getHeights: (element: Object) => Array; + applyHeight: ($eqParent: Object, heights:Array) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/interchange.html#javascript-reference + export interface Interchange { + replace: (path: String) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/magellan.html#javascript-reference + export interface Magellan { + calcPoints: () => void; + reflow: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/offcanvas.html#javascript-reference + export interface OffCanvas { + open: (event: Object, trigger : JQuery) => void; + toggle: (event: Object, trigger : JQuery) => void; + close: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/orbit.html#javascript-reference + export interface Orbit { + changeSlide: (isLTR: boolean, chosenSlide?: Object, idx?: number) => void; + geoSync: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/reveal.html#javascript-reference + export interface Reveal { + open: () => void; + toggle: () => void; + close: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/slider.html#javascript-reference + export interface Slider { + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/sticky.html#javascript-reference + export interface Sticky { + _pauseListeners: (scrollListener: String) => void; + _calc: (checkSizes: boolean, scroll: number) => void; + destroy: () => void; + emCalc: (number: any) => void; + } + + // http://foundation.zurb.com/sites/docs/tabs.html#javascript-reference + export interface Tabs { + _handleTabChange: ($target : JQuery) => void; + selectTab: ($target : JQuery) => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/toggler.html#javascript-reference + export interface Toggler { + toggle: () => void; + destroy: () => void; + } + + // http://foundation.zurb.com/sites/docs/tooltip.html#javascript-reference + export interface Tooltip { + show: () => void; + hide: () =>void; + toggle: () => void; + destroy: () => void; + } + + // Utilities + // --------- + + export interface Box { + ImNotTouchingYou: (element: Object, parent?: Object, lrOnly?:boolean, tbOnly?:boolean) => boolean; + GetDimensions: (element: Object) => Object; + GetOffsets: (element: Object, anchor: Object, position:String, vOffset:number, hOffset:number, isOverflow:boolean) => Object; + } + + export interface KeyBoard { + parseKey: (event:any) => String; + findFocusable: ($element:Object) => Object; + } + + export interface MediaQuery { + get: (size:String) => String; + atLeast: (size:String) => boolean; + queries:Array; + current:any; + } + + export interface Motion { + animateIn: (element: Object, animation:any, cb:Function) => void; + animateOut: (element: Object, animation:any, cb:Function) => void; + } + + interface Move { + // TODO + } + + interface Nest { + // TODO + } + + export interface Timer { + start: () => void; + restart: () => void; + pause: () => void; + } + + interface Touch { + // TODO :extension on jQuery + } + + interface Triggers { + // TODO :extension on jQuery + } + + interface FoundationStatic { + version : string; + + rtl: () => boolean; + plugin: (plugin: Object, name:String) => void; + registerPlugin: (plugin: Object) => void; + unregisterPlugin: (plugin: Object) => void; + GetYoDigits: (length: number, namespace?: String) => String; + reflow: (elem: Object, plugins?: Array|String) => void; + getFnName: (fn: String) => String; + transitionend: () => String; + + util : { + throttle(func : (...args : any[]) => any, delay : number) : (...args : any[]) => any; + }; + onImagesLoaded: (images:Object, cb:Function) => void; + + Abide: (element:Object, options:AbideOptions) => void; + + } +} + +interface JQuery { + foundation(method:String|Array) : JQuery; +} + +declare var Foundation : Foundation.FoundationStatic; From b36cbcfd6bacd75b017b2acbb788c4b323d4ed87 Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Tue, 5 Jan 2016 11:42:14 +0100 Subject: [PATCH 2/6] updated foundation-sites v6.1.x --- CONTRIBUTORS.md | 2 +- ...ion-tests.ts => foundation-sites-tests.ts} | 2 +- ...{foundation.d.ts => foundation-sites.d.ts} | 77 +++++++++++++------ 3 files changed, 55 insertions(+), 26 deletions(-) rename foundation-sites/{foundation-tests.ts => foundation-sites-tests.ts} (97%) rename foundation-sites/{foundation.d.ts => foundation-sites.d.ts} (85%) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index e9d91ae10..97109dad8 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -399,7 +399,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam * [:link:](forge-di/forge-di.d.ts) [forge-di](https://github.com/nkohari/forge) by [Adam Carr](https://github.com/adamcarr) * [:link:](form-data/form-data.d.ts) [form-data](https://github.com/felixge/node-form-data) by [Carlos Ballesteros Velasco](https://github.com/soywiz) * [:link:](formidable/formidable.d.ts) [Formidable](https://github.com/felixge/node-formidable) by [Wim Looman](https://github.com/Nemo157) -* [:link:](foundation/foundation.d.ts) [Foundation](http://foundation.zurb.com) by [Boris Yankov](https://github.com/borisyankov) +* [:link:](foundation/foundation-sites.d.ts) [Foundation](http://foundation.zurb.com) by [Boris Yankov](https://github.com/borisyankov) * [:link:](fpsmeter/FPSMeter.d.ts) [FPSmeter](http://darsa.in/fpsmeter) by [Aaron Lampros](http://github.com/alampros) * [:link:](freedom/freedom-core-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek) * [:link:](freedom/freedom-module-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek) diff --git a/foundation-sites/foundation-tests.ts b/foundation-sites/foundation-sites-tests.ts similarity index 97% rename from foundation-sites/foundation-tests.ts rename to foundation-sites/foundation-sites-tests.ts index 225f3c0fa..678945265 100644 --- a/foundation-sites/foundation-tests.ts +++ b/foundation-sites/foundation-sites-tests.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped /// -/// +/// $(document).foundation(); $(document).foundation('method5'); diff --git a/foundation-sites/foundation.d.ts b/foundation-sites/foundation-sites.d.ts similarity index 85% rename from foundation-sites/foundation.d.ts rename to foundation-sites/foundation-sites.d.ts index a6dd7682d..3f845bd88 100644 --- a/foundation-sites/foundation.d.ts +++ b/foundation-sites/foundation-sites.d.ts @@ -1,15 +1,20 @@ -// Type definitions for Foundation Sites v6.0.4 +// Type definitions for Foundation Sites v6.1.x // Project: http://foundation.zurb.com/ // Definitions by: Sam Vloeberghs // Definitions: https://github.com/borisyankov/DefinitelyTyped +// please also see the typings project and prefer to use it! +// typings project: https://github.com/typings/typings +// typings: https://github.com/samvloeberghs/foundation-sites-typings + /// declare module FoundationSites { // http://foundation.zurb.com/sites/docs/abide.html#javascript-reference interface Abide { - requiredChedck(element:Object): boolean; + requiredChecked(element:Object): boolean; + findFormError($el:Object): Object; findLabel(element:Object): boolean; addErrorClasses(element:Object): void; removeErrorClasses(element:Object): void; @@ -17,7 +22,9 @@ declare module FoundationSites { validateForm(element:Object): void; validateText(element:Object): boolean; validateRadio(group:string): boolean; + matchValidation($el:Object, validators:string, required:boolean): boolean; resetForm($form:Object): void; + destroy(): void; } interface IAbidePatterns { @@ -40,9 +47,13 @@ declare module FoundationSites { } interface IAbideOptions { - slideSpeed?: number; - multiOpen?: boolean; - patters?: IAbidePatterns; + validateOn?: string; + labelErrorClass?: string; + inputErrorClass?: string; + formErrorSelector?: string; + formErrorClass?: string; + liveValidate?: boolean; + validators?:any; } // http://foundation.zurb.com/sites/docs/accordion.html#javascript-reference @@ -56,10 +67,12 @@ declare module FoundationSites { interface IAccordionOptions { slideSpeed?: number multiOpen?: boolean; + allowAllClosed?: boolean; } // http://foundation.zurb.com/sites/docs/accordion-menu.html#javascript-reference interface AccordionMenu { + hideAll(): void; toggle($target:JQuery): void; down($target:JQuery, firstTime:boolean): void; up($target:JQuery): void; @@ -73,7 +86,8 @@ declare module FoundationSites { // http://foundation.zurb.com/sites/docs/drilldown-menu.html#javascript-reference interface Drilldown { - _hideAll($elem:JQuery): void; + _hideAll(): void; + _back($elem:JQuery): void; _show($elem:JQuery): void; _hide($elem:JQuery): void; destroy(): void; @@ -97,11 +111,13 @@ declare module FoundationSites { interface IDropdownOptions { hoverDelay?: number; hover?: boolean; + hoverPane?: boolean; vOffset?: number; hOffset?: number; positionClass?: string; trapFocus?: boolean; autoFocus?: boolean; + closeOnClick?: boolean; } // http://foundation.zurb.com/sites/docs/dropdown-menu.html#javascript-reference @@ -115,21 +131,26 @@ declare module FoundationSites { hoverDelay?: number; clickOpen?: boolean; closingTime?: number; - alignments?: string; - verticalClasss?: string; - rightClasss?: string; + alignment?: string; + closeOnClick?:boolean; + verticalClass?: string; + rightClass?: string; + forceFollow?: boolean; } // http://foundation.zurb.com/sites/docs/equalizer.html#javascript-reference interface Equalizer { getHeights(element:Object): Array; - applyHeight($eqParent:Object, heights:Array): void; + getHeightsByRow(cb:Function): void; + applyHeight(heights:Array): void; + applyHeightByRow(groups:Array):void; destroy(): void; } interface IEqualizerOptions { equalizeOnStack?: boolean; - throttleInterval?: number; + equalizeByRow?: boolean; + equalizeOn?:string; } // http://foundation.zurb.com/sites/docs/interchange.html#javascript-reference @@ -155,13 +176,15 @@ declare module FoundationSites { threshold?: number; activeClass?: string; deepLinking?: boolean; + barOffset: number; } // http://foundation.zurb.com/sites/docs/offcanvas.html#javascript-reference interface OffCanvas { + reveal(isRevealed:boolean): void; open(event:Object, trigger:JQuery): void; - toggle(event:Object, trigger:JQuery): void; close(): void; + toggle(event:Object, trigger:JQuery): void; destroy(): void; } @@ -171,6 +194,7 @@ declare module FoundationSites { position?: string; forceTop?: boolean; isRevealed?: boolean; + isRevealed?: boolean; revealOn?: string; autoFocus?: boolean; revealClass?: string; @@ -178,8 +202,8 @@ declare module FoundationSites { // http://foundation.zurb.com/sites/docs/orbit.html#javascript-reference interface Orbit { - changeSlide(isLTR:boolean, chosenSlide?:Object, idx?:number): void; geoSync(): void; + changeSlide(isLTR:boolean, chosenSlide?:Object, idx?:number): void; destroy(): void; } @@ -201,6 +225,7 @@ declare module FoundationSites { boxOfBullets?: string; nextClass?: string; prevClass?: string; + useMUI?: boolean; } // http://foundation.zurb.com/sites/docs/reveal.html#javascript-reference @@ -254,7 +279,7 @@ declare module FoundationSites { _pauseListeners(scrollListener:string): void; _calc(checkSizes:boolean, scroll:number): void; destroy(): void; - emCalc(number:any): void; + emCalc(Number:number): void; } interface IStickyOptions { @@ -279,7 +304,11 @@ declare module FoundationSites { } interface ITabsOptions { - animate?: boolean; + autoFocus?: boolean; + wrapOnKeys?: boolean; + matchHeight?: boolean; + linkClass?: string; + panelClass?: string; } // http://foundation.zurb.com/sites/docs/toggler.html#javascript-reference @@ -328,14 +357,15 @@ declare module FoundationSites { interface KeyBoard { parseKey(event:any): string; + handleKey(event:any, component:any, functions:any):void; findFocusable($element:Object): Object; } interface MediaQuery { get(size:string): string; atLeast(size:string): boolean; - queries:Array; - current:any; + queries:Array; + current:string; } interface Motion { @@ -348,9 +378,8 @@ declare module FoundationSites { } interface Nest { - // TODO - //Feather: function(menu, type) - // Burn: function(menu, type){ + Feather(menu:any, type:any); + Burn(menu:any, type:any); } interface Timer { @@ -374,6 +403,7 @@ declare module FoundationSites { plugin(plugin:Object, name:string): void; registerPlugin(plugin:Object): void; unregisterPlugin(plugin:Object): void; + reInit(plugins:Array):void; GetYoDigits(length:number, namespace?:string): string; reflow(elem:Object, plugins?:Array|string): void; getFnName(fn:string): string; @@ -382,7 +412,6 @@ declare module FoundationSites { util : { throttle(func:(...args:any[]) => any, delay:number): (...args:any[]) => any; }; - onImagesLoaded(images:Object, cb:Function): void; Abide(element:Object, options?:IAbideOptions): Abide; Accordion(element:Object, options?:IAccordionOptions): Accordion; @@ -421,8 +450,8 @@ interface JQuery { foundation(method?:string|Array) : JQuery; } -declare var Foundation:FoundationSites.FoundationSitesStatic; +declare var FoundationSites:FoundationSites.FoundationSitesStatic; -declare module "Foundation" { - export = Foundation; +declare module "FoundationSites" { + export = FoundationSites; } From 6d23a0171b6ea20c26934572aa914cac5b41f42e Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Tue, 5 Jan 2016 11:55:16 +0100 Subject: [PATCH 3/6] updated foundation-sites --- foundation-sites/foundation-sites.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/foundation-sites/foundation-sites.d.ts b/foundation-sites/foundation-sites.d.ts index 3f845bd88..6cf091da4 100644 --- a/foundation-sites/foundation-sites.d.ts +++ b/foundation-sites/foundation-sites.d.ts @@ -176,7 +176,7 @@ declare module FoundationSites { threshold?: number; activeClass?: string; deepLinking?: boolean; - barOffset: number; + barOffset?: number; } // http://foundation.zurb.com/sites/docs/offcanvas.html#javascript-reference @@ -450,8 +450,8 @@ interface JQuery { foundation(method?:string|Array) : JQuery; } -declare var FoundationSites:FoundationSites.FoundationSitesStatic; +declare var Foundation:FoundationSites.FoundationSitesStatic; -declare module "FoundationSites" { - export = FoundationSites; +declare module "Foundation" { + export = Foundation; } From 4a9a8a49ea59703baea9fe7aff3810d55663793a Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Wed, 6 Jan 2016 08:45:05 +0100 Subject: [PATCH 4/6] updated implicit any + duplicate id + patch version to 6.1.1 --- fingerprintjs2/fingerprint2-tests.ts | 15 ++++++++ fingerprintjs2/fingerprint2.d.ts | 50 ++++++++++++++++++++++++++ foundation-sites/foundation-sites.d.ts | 7 ++-- 3 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 fingerprintjs2/fingerprint2-tests.ts create mode 100644 fingerprintjs2/fingerprint2.d.ts diff --git a/fingerprintjs2/fingerprint2-tests.ts b/fingerprintjs2/fingerprint2-tests.ts new file mode 100644 index 000000000..7f4baf756 --- /dev/null +++ b/fingerprintjs2/fingerprint2-tests.ts @@ -0,0 +1,15 @@ +// Type definitions for fingerprintjs2 1.0.0-rc3 +// Project: https://github.com/Valve/fingerprintjs2 +// Definitions by: Sam Vloeberghs +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +let f2 = new Fingerprint2.Fingerprint2(); +f2.get((result:string, components:Array) => { + +}); + +let options = {}; +let f2withOptions = new Fingerprint2.Fingerprint2(options); +f2withOptions.get((result:string, components:Array) => { + +}); diff --git a/fingerprintjs2/fingerprint2.d.ts b/fingerprintjs2/fingerprint2.d.ts new file mode 100644 index 000000000..87150da3d --- /dev/null +++ b/fingerprintjs2/fingerprint2.d.ts @@ -0,0 +1,50 @@ +// Type definitions for fingerprintjs2 1.0.0-rc3 +// Project: https://github.com/Valve/fingerprintjs2 +// Definitions by: Sam Vloeberghs +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +declare module Fingerprint2Js { + + interface Fingerprint2Static { + new(option?:Fingerprint2Option): Fingerprint2; + } + + interface Fingerprint2 { + get(func:(result:string, components:Array) => void): void; + } + + interface Fingerprint2Option { + swfContainerId?: string; + swfPath?: string; + excludeUserAgent?: boolean; + excludeLanguage?: boolean; + excludeColorDepth?: boolean; + excludeScreenResolution?: boolean; + excludeTimezoneOffset?: boolean; + excludeSessionStorage?: boolean; + excludeIndexedDB?: boolean; + excludeAddBehavior?: boolean; + excludeOpenDatabase?: boolean; + excludeCpuClass?: boolean; + excludePlatform?: boolean; + excludeDoNotTrack?: boolean; + excludeCanvas?: boolean; + excludeWebGL?: boolean; + excludeAdBlock?: boolean; + excludeHasLiedLanguages?: boolean; + excludeHasLiedResolution?: boolean; + excludeHasLiedOs?: boolean; + excludeHasLiedBrowser?: boolean; + excludeJsFonts?: boolean; + excludeFlashFonts?: boolean; + excludePlugins?: boolean; + excludeTouchSupport?: boolean; + } + +} + +declare var Fingerprint2:Fingerprint2Js.Fingerprint2Static; + +declare module "Fingerprint2" { + export = Fingerprint2; +} diff --git a/foundation-sites/foundation-sites.d.ts b/foundation-sites/foundation-sites.d.ts index 6cf091da4..55070df14 100644 --- a/foundation-sites/foundation-sites.d.ts +++ b/foundation-sites/foundation-sites.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Foundation Sites v6.1.x +// Type definitions for Foundation Sites v6.1.1 // Project: http://foundation.zurb.com/ // Definitions by: Sam Vloeberghs // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -194,7 +194,6 @@ declare module FoundationSites { position?: string; forceTop?: boolean; isRevealed?: boolean; - isRevealed?: boolean; revealOn?: string; autoFocus?: boolean; revealClass?: string; @@ -378,8 +377,8 @@ declare module FoundationSites { } interface Nest { - Feather(menu:any, type:any); - Burn(menu:any, type:any); + Feather(menu:any, type:any):void; + Burn(menu:any, type:any):void; } interface Timer { From 3c44b9c4d89cf065a39595eb0f73fc7f6001418b Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Wed, 6 Jan 2016 08:45:41 +0100 Subject: [PATCH 5/6] updated implicit any + duplicate id + patch version to 6.1.1 --- fingerprintjs2/fingerprint2-tests.ts | 15 --------- fingerprintjs2/fingerprint2.d.ts | 50 ---------------------------- 2 files changed, 65 deletions(-) delete mode 100644 fingerprintjs2/fingerprint2-tests.ts delete mode 100644 fingerprintjs2/fingerprint2.d.ts diff --git a/fingerprintjs2/fingerprint2-tests.ts b/fingerprintjs2/fingerprint2-tests.ts deleted file mode 100644 index 7f4baf756..000000000 --- a/fingerprintjs2/fingerprint2-tests.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for fingerprintjs2 1.0.0-rc3 -// Project: https://github.com/Valve/fingerprintjs2 -// Definitions by: Sam Vloeberghs -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -let f2 = new Fingerprint2.Fingerprint2(); -f2.get((result:string, components:Array) => { - -}); - -let options = {}; -let f2withOptions = new Fingerprint2.Fingerprint2(options); -f2withOptions.get((result:string, components:Array) => { - -}); diff --git a/fingerprintjs2/fingerprint2.d.ts b/fingerprintjs2/fingerprint2.d.ts deleted file mode 100644 index 87150da3d..000000000 --- a/fingerprintjs2/fingerprint2.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Type definitions for fingerprintjs2 1.0.0-rc3 -// Project: https://github.com/Valve/fingerprintjs2 -// Definitions by: Sam Vloeberghs -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare module Fingerprint2Js { - - interface Fingerprint2Static { - new(option?:Fingerprint2Option): Fingerprint2; - } - - interface Fingerprint2 { - get(func:(result:string, components:Array) => void): void; - } - - interface Fingerprint2Option { - swfContainerId?: string; - swfPath?: string; - excludeUserAgent?: boolean; - excludeLanguage?: boolean; - excludeColorDepth?: boolean; - excludeScreenResolution?: boolean; - excludeTimezoneOffset?: boolean; - excludeSessionStorage?: boolean; - excludeIndexedDB?: boolean; - excludeAddBehavior?: boolean; - excludeOpenDatabase?: boolean; - excludeCpuClass?: boolean; - excludePlatform?: boolean; - excludeDoNotTrack?: boolean; - excludeCanvas?: boolean; - excludeWebGL?: boolean; - excludeAdBlock?: boolean; - excludeHasLiedLanguages?: boolean; - excludeHasLiedResolution?: boolean; - excludeHasLiedOs?: boolean; - excludeHasLiedBrowser?: boolean; - excludeJsFonts?: boolean; - excludeFlashFonts?: boolean; - excludePlugins?: boolean; - excludeTouchSupport?: boolean; - } - -} - -declare var Fingerprint2:Fingerprint2Js.Fingerprint2Static; - -declare module "Fingerprint2" { - export = Fingerprint2; -} From 86ce8c127d901e6053c43c329b23364537d9ad84 Mon Sep 17 00:00:00 2001 From: Sam Vloeberghs Date: Wed, 6 Jan 2016 09:30:21 +0100 Subject: [PATCH 6/6] restored contributors --- CONTRIBUTORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 97109dad8..e9d91ae10 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -399,7 +399,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam * [:link:](forge-di/forge-di.d.ts) [forge-di](https://github.com/nkohari/forge) by [Adam Carr](https://github.com/adamcarr) * [:link:](form-data/form-data.d.ts) [form-data](https://github.com/felixge/node-form-data) by [Carlos Ballesteros Velasco](https://github.com/soywiz) * [:link:](formidable/formidable.d.ts) [Formidable](https://github.com/felixge/node-formidable) by [Wim Looman](https://github.com/Nemo157) -* [:link:](foundation/foundation-sites.d.ts) [Foundation](http://foundation.zurb.com) by [Boris Yankov](https://github.com/borisyankov) +* [:link:](foundation/foundation.d.ts) [Foundation](http://foundation.zurb.com) by [Boris Yankov](https://github.com/borisyankov) * [:link:](fpsmeter/FPSMeter.d.ts) [FPSmeter](http://darsa.in/fpsmeter) by [Aaron Lampros](http://github.com/alampros) * [:link:](freedom/freedom-core-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek) * [:link:](freedom/freedom-module-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)