File header comments stadardized

This commit is contained in:
Boris Yankov
2012-10-31 02:09:37 +02:00
parent 817365cd16
commit b1e1b8b79d
30 changed files with 285 additions and 232 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
// Type definitions for Angular JS 1.0.2
// Type definitions for Angular JS 1.0
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery-1.8.d.ts" />
declare var angular: ng.IAngularStatic;
+3 -2
View File
@@ -1,9 +1,10 @@
/// Type definitions for Angular JS 1.0.2 (ngCookies module)
/// Type definitions for Angular JS 1.0 (ngCookies module)
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular-1.0.2.d.ts" />
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngCookies module (angular-cookies.js)
+3 -2
View File
@@ -1,9 +1,10 @@
// Type definitions for Angular JS 1.0.2 (ngMock, ngMockE2E module)
// Type definitions for Angular JS 1.0 (ngMock, ngMockE2E module)
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular-1.0.2.d.ts" />
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngMock module (angular-mocks.js)
+3 -2
View File
@@ -1,9 +1,10 @@
// Type definitions for Angular JS 1.0.2 (ngSanitize module)
// Type definitions for Angular JS 1.0 (ngSanitize module)
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular-1.0.2.d.ts" />
/// <reference path="angular-1.0.d.ts" />
///////////////////////////////////////////////////////////////////////////////
// ngSanitize module (angular-sanitize.js)
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for Async 0.1
// Project: https://github.com/caolan/async
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+4 -1
View File
@@ -1,5 +1,8 @@
// Type definitions for Backbone 0.9
// https://github.com/borisyankov/DefinitelyTyped
// Project: http://backbonejs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module Backbone {
+4 -2
View File
@@ -1,7 +1,9 @@
// Type definitions for Bootstrap 2.1
// https://github.com/borisyankov/DefinitelyTyped
// Project: http://twitter.github.com/bootstrap/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery.d.ts"/>
/// <reference path="jquery-1.8.d.ts"/>
interface ModalOptions {
backdrop?: bool;
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for Chosen.JQuery 0.9
// Project: http://harvesthq.github.com/chosen/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Ember.js 1.0.pre
// Project: http://emberjs.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "Ember" {
export class CoreObject {
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for Express 3.0
// Project: http://expressjs.com
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for fancyBox 2.1
// Project: https://github.com/fancyapps/fancyBox
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+50 -47
View File
@@ -1,42 +1,45 @@
// Type definitions for Globalize
// https://github.com/borisyankov/DefinitelyTyped
// Project: https://github.com/jquery/globalize
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface GlobalizePercent {
pattern: string[];
decimals: number;
groupSizes: number[];
//",": string;
//".": string;
pattern: string[];
decimals: number;
groupSizes: number[];
//",": string;
//".": string;
symbol: string;
}
interface GlobalizeCurrency {
pattern: string[];
decimals: number;
groupSizes: number[];
//",": string;
//".": string;
pattern: string[];
decimals: number;
groupSizes: number[];
//",": string;
//".": string;
symbol: string;
}
interface GlobalizeNumberFormat {
pattern: string[];
decimals: string;
//",": string;
//".": string;
groupSizes: number[];
//"+": string;
//"-": string;
NaN: string;
negativeInfinity: string;
positiveInfinity: string;
percent: GlobalizePercent;
pattern: string[];
decimals: string;
//",": string;
//".": string;
groupSizes: number[];
//"+": string;
//"-": string;
NaN: string;
negativeInfinity: string;
positiveInfinity: string;
percent: GlobalizePercent;
currency: GlobalizeCurrency;
}
interface GlobalizeEra {
name: string;
start: any;
name: string;
start: any;
offset: number;
}
@@ -47,28 +50,28 @@ interface GlobalizeDays {
}
interface GlobalizePatterns {
d: string;
D: string;
t: string;
T: string;
f: string;
F: string;
M: string;
Y: string;
d: string;
D: string;
t: string;
T: string;
f: string;
F: string;
M: string;
Y: string;
S: string;
}
interface GlobalizeCalendar {
name: string;
// "/": string,
// ":": string,
firstDay: number;
days: GlobalizeDays;
months: any[];
AM: string[];
PM: string[];
eras: GlobalizeEra[];
twoDigitYearMax: number;
name: string;
// "/": string,
// ":": string,
firstDay: number;
days: GlobalizeDays;
months: any[];
AM: string[];
PM: string[];
eras: GlobalizeEra[];
twoDigitYearMax: number;
patterns: GlobalizePatterns;
}
@@ -77,11 +80,11 @@ interface GlobalizeCalendars {
}
interface GlobalizeCulture {
name: string;
englishName: string;
nativeName: string;
isRTL: bool;
language: string;
name: string;
englishName: string;
nativeName: string;
isRTL: bool;
language: string;
numberFormat: GlobalizeNumberFormat;
calendars: GlobalizeCalendars;
messages: any;
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Handlebars 1.0
// Project: http://handlebarsjs.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface HandlebarsStatic {
registerHelper(name: string, fn: Function, inverse?: bool): void;
registerPartial(name: string, str): void;
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for History.js
// Project: https://github.com/balupton/History.js
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface HistoryAdapter {
bind(element, event, callback);
trigger(element, event);
+1
View File
@@ -3,6 +3,7 @@
// Definitions by: https://github.com/jmvrbanac
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
interface HumaneOptions {
queue?: string[];
baseCls?: string;
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Impress.js 0.5
// Project: https://github.com/bartaz/impress.js
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface Impress {
init(): void;
getStep(step: any): any;
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Jasmine 1.2
// Project: http://pivotal.github.com/jasmine/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
declare function describe(description: string, specDefinitions: Function): JasmineEnv;
declare function xdescribe(description: string, specDefinitions: Function): JasmineEnv;
+2 -1
View File
@@ -1,9 +1,10 @@
// Type definitions for jQuery Mobile 1.2
// Project: http://jquerymobile.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery-1.8.d.ts"/>
/// <reference path="jquery-1.8.d.ts"/>
interface JQueryMobileEvent { (event: Event, ui): void; }
+3
View File
@@ -1,9 +1,12 @@
// Type definitions for jQueryUI 1.9
// Project: http://jqueryui.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="jquery-1.8.d.ts"/>
// Widget //////////////////////////////////////////////////
interface Widget {
+176 -170
View File
@@ -1,171 +1,177 @@
/// <reference path="backbone-0.9.d.ts" />
/// <reference path="knockout-2.2.d.ts" />
declare module Knockback {
export interface EventWatcherOptions {
emitter : (newEmitter) => void;
update : (newValue) => void;
event_selector : string;
key? : string;
}
export interface FactoryOptions {
factories: any;
}
export interface StoreOptions {
creator: any;
path: string;
store: Store;
factory: Factory;
}
export class Destroyable {
destroy();
}
export class ViewModel extends Destroyable {
constructor (model? : Backbone.Model , options? : ViewModelOptions, viewModel? : ViewModel );
shareOptions() : ViewModelOptions;
extend(source: any);
model(): Backbone.Model;
}
export class EventWatcher extends Destroyable {
useOptionsOrCreate(options, emitter : KnockoutObservableAny, obj : Backbone.Model, callback_options : any);
emitter(): Backbone.Model;
emitter(newEmitter : Backbone.Model);
registerCallbacks(obj: any, callback_info: any);
releaseCallbacks(obj: any);
}
export class Factory {
constructor (parent_factory : any);
useOptionsOrCreate(options: FactoryOptions, obj: any, owner_path: string);
hasPath(path: string): bool;
addPathMapping(path: string, create_info);
addPathMappings(factories: any, owner_path: string);
hasPathMappings(factories: any, owner_path: string) : bool;
creatorForPath(obj: any, path: string);
}
export class Store extends Destroyable {
constructor (model:Backbone.Model, options: StoreOptions);
useOptionsOrCreate(options: StoreOptions, obj: any, observable: KnockoutObservableAny);
clear();
register(obj: Backbone.Model, observable: KnockoutObservableAny, options: StoreOptions);
findOrCreate(obj: Backbone.Model, options: StoreOptions);
}
export class DefaultObservable extends Destroyable {
constructor (targetObservable: KnockoutObservableAny, defaultValue: any);
setToDefault();
}
export class FormattedObservable extends Destroyable {
constructor (format: string, args: any[]);
constructor (format: KnockoutObservableAny, args: any[]);
}
export interface LocalizedObservable {
constructor (value: any, options: any, vm: any);
destroy();
resetToCurrent();
observedValue(value: any);
}
export class TriggeredObservable extends Destroyable {
constructor (emitter: Backbone.ModelBase, event: string);
emitter() : Backbone.ModelBase;
emitter(newEmitter: Backbone.ModelBase);
}
export class Statistics {
constructor ();
clear();
addModelEvent(event: string);
modelEventsStatsString();
register(key: string, obj: any);
unregister(key: string, obj: any);
registeredCount(type: any) : number;
registeredStatsString(success_message: string) : string;
}
export interface OptionsBase {
path?: string; // the path to the value (used to create related observables from the factory).
store?: Store; // a store used to cache and share view models.
factory?: Factory; // a factory used to create view models.
options?: any; // a set of options merge into these options using _.defaults. Useful for extending options when deriving classes rather than merging them by hand.
}
export interface ViewModelOptions extends OptionsBase {
internals?: string[]; // an array of atttributes that should be scoped with an underscore, eg. name -> _name
requires?: string[]; // an array of atttributes that will have kb.Observables created even if they do not exist on the Backbone.Model. Useful for binding Views that require specific observables to exist
keys?: string[]; // restricts the keys used on a model. Useful for reducing the number of kb.Observables created from a limited set of Backbone.Model attributes
if(objOrArray: any); // an array is supplied, excludes keys to exclude on the view model; for example, if you want to provide a custom implementation. If an Object, it provides options to the kb.Observable constructor.
path?: string; // the path to the value (used to create related observables from the factory).
factories?: any; // a map of dot-deliminated paths; for example {'models.name': kb.ViewModel} to either constructors or create functions. Signature: {'some.path': function(object, options)}
}
export interface CollectionOptions extends OptionsBase {
models_only?: bool; // flag for skipping the creation of view models. The collection observable will be populated with (possibly sorted) models.
view_model?: any; // (Constructor) — the view model constructor used for models in the collection. Signature: constructor(model, options)
create?: any; // a function used to create a view model for models in the collection. Signature: create(model, options)
factories?: any; // a map of dot-deliminated paths; for example 'models.owner': kb.ViewModel to either constructors or create functions. Signature: 'some.path': function(object, options)
comparator?: any; //a function that is used to sort an object. Signature: function(model_a, model_b) returns negative value for ascending, 0 for equal, and positive for descending
sort_attribute?: string; // the name of an attribute. Default: resort on all changes to a model.
filters?: any; // filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
}
export interface CollectionObservable extends KnockoutObservableArray {
collection() : Backbone.Collection;
destroy();
shareOptions() : CollectionOptions;
filters(filter: any);
comparator(comparatorFunction: any);
sortAttribute(attr: string);
viewModelByModel(model: Backbone.Model) : ViewModel;
hasViewModels(): bool;
}
export interface Utils {
wrappedObservable(obj: any) : any;
wrappedObservable(obj: any, value: any);
wrappedObject(obj: any) : any;
wrappedObject(obj: any, value: any);
wrappedModel(obj: any) : any;
wrappedModel(obj: any, value: any);
wrappedStore(obj: any) : any;
wrappedStore(obj: any, value: any);
wrappedFactory(obj: any) : any;
wrappedFactory(obj: any, value: any);
wrappedEventWatcher(obj: any) : any;
wrappedEventWatcher(obj: any, value: any);
wrappedDestroy(obj: any);
valueType(observable: KnockoutObservableAny) : any;
pathJoin(path1: string, path2: string): string;
optionsPathJoin(options: any, path: string): any;
inferCreator(value: any, factory: Factory, path: string, owner: any, key: string);
createFromDefaultCreator(obj: any, options?: any);
hasModelSignature(obj: any): bool;
hasCollectionSignature(obj: any): bool;
}
export interface Static extends Utils {
collectionObservable(model?: Backbone.Collection, options?: CollectionOptions): CollectionObservable;
observable(model?: Backbone.Model, options?: any) : KnockoutObservableAny;
viewModel(model?: Backbone.Model, options?: any) : KnockoutObservableAny;
defaultObservable(targetObservable: KnockoutObservableAny, defaultValue: any) : KnockoutObservableAny;
formattedObservable(format: string, args: any[]) : KnockoutObservableAny;
formattedObservable(format: KnockoutObservableAny, args: any[]): KnockoutObservableAny;
localizedObservable(data: any, options: any): KnockoutObservableAny;
release(object: any, pre_release?: () => void );
releaseKeys(object: any);
releaseOnNodeRemove(viewmodel: ViewModel, node: Element);
renderTemplate(template: string, viewModel: ViewModel, options: any);
renderAutoReleasedTemplate(template: string, viewModel: ViewModel, options: any);
applyBindings(viewModel: ViewModel, node?: Element);
}
};
// Type definitions for knockback.js 0.16
// Project: http://backbonejs.org/
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="backbone-0.9.d.ts" />
/// <reference path="knockout-2.2.d.ts" />
declare module Knockback {
export interface EventWatcherOptions {
emitter : (newEmitter) => void;
update : (newValue) => void;
event_selector : string;
key? : string;
}
export interface FactoryOptions {
factories: any;
}
export interface StoreOptions {
creator: any;
path: string;
store: Store;
factory: Factory;
}
export class Destroyable {
destroy();
}
export class ViewModel extends Destroyable {
constructor (model? : Backbone.Model , options? : ViewModelOptions, viewModel? : ViewModel );
shareOptions() : ViewModelOptions;
extend(source: any);
model(): Backbone.Model;
}
export class EventWatcher extends Destroyable {
useOptionsOrCreate(options, emitter : KnockoutObservableAny, obj : Backbone.Model, callback_options : any);
emitter(): Backbone.Model;
emitter(newEmitter : Backbone.Model);
registerCallbacks(obj: any, callback_info: any);
releaseCallbacks(obj: any);
}
export class Factory {
constructor (parent_factory : any);
useOptionsOrCreate(options: FactoryOptions, obj: any, owner_path: string);
hasPath(path: string): bool;
addPathMapping(path: string, create_info);
addPathMappings(factories: any, owner_path: string);
hasPathMappings(factories: any, owner_path: string) : bool;
creatorForPath(obj: any, path: string);
}
export class Store extends Destroyable {
constructor (model:Backbone.Model, options: StoreOptions);
useOptionsOrCreate(options: StoreOptions, obj: any, observable: KnockoutObservableAny);
clear();
register(obj: Backbone.Model, observable: KnockoutObservableAny, options: StoreOptions);
findOrCreate(obj: Backbone.Model, options: StoreOptions);
}
export class DefaultObservable extends Destroyable {
constructor (targetObservable: KnockoutObservableAny, defaultValue: any);
setToDefault();
}
export class FormattedObservable extends Destroyable {
constructor (format: string, args: any[]);
constructor (format: KnockoutObservableAny, args: any[]);
}
export interface LocalizedObservable {
constructor (value: any, options: any, vm: any);
destroy();
resetToCurrent();
observedValue(value: any);
}
export class TriggeredObservable extends Destroyable {
constructor (emitter: Backbone.ModelBase, event: string);
emitter() : Backbone.ModelBase;
emitter(newEmitter: Backbone.ModelBase);
}
export class Statistics {
constructor ();
clear();
addModelEvent(event: string);
modelEventsStatsString();
register(key: string, obj: any);
unregister(key: string, obj: any);
registeredCount(type: any) : number;
registeredStatsString(success_message: string) : string;
}
export interface OptionsBase {
path?: string; // the path to the value (used to create related observables from the factory).
store?: Store; // a store used to cache and share view models.
factory?: Factory; // a factory used to create view models.
options?: any; // a set of options merge into these options using _.defaults. Useful for extending options when deriving classes rather than merging them by hand.
}
export interface ViewModelOptions extends OptionsBase {
internals?: string[]; // an array of atttributes that should be scoped with an underscore, eg. name -> _name
requires?: string[]; // an array of atttributes that will have kb.Observables created even if they do not exist on the Backbone.Model. Useful for binding Views that require specific observables to exist
keys?: string[]; // restricts the keys used on a model. Useful for reducing the number of kb.Observables created from a limited set of Backbone.Model attributes
if(objOrArray: any); // an array is supplied, excludes keys to exclude on the view model; for example, if you want to provide a custom implementation. If an Object, it provides options to the kb.Observable constructor.
path?: string; // the path to the value (used to create related observables from the factory).
factories?: any; // a map of dot-deliminated paths; for example {'models.name': kb.ViewModel} to either constructors or create functions. Signature: {'some.path': function(object, options)}
}
export interface CollectionOptions extends OptionsBase {
models_only?: bool; // flag for skipping the creation of view models. The collection observable will be populated with (possibly sorted) models.
view_model?: any; // (Constructor) — the view model constructor used for models in the collection. Signature: constructor(model, options)
create?: any; // a function used to create a view model for models in the collection. Signature: create(model, options)
factories?: any; // a map of dot-deliminated paths; for example 'models.owner': kb.ViewModel to either constructors or create functions. Signature: 'some.path': function(object, options)
comparator?: any; //a function that is used to sort an object. Signature: function(model_a, model_b) returns negative value for ascending, 0 for equal, and positive for descending
sort_attribute?: string; // the name of an attribute. Default: resort on all changes to a model.
filters?: any; // filters can be individual ids (observable or simple) or arrays of ids, functions, or arrays of functions.
}
export interface CollectionObservable extends KnockoutObservableArray {
collection() : Backbone.Collection;
destroy();
shareOptions() : CollectionOptions;
filters(filter: any);
comparator(comparatorFunction: any);
sortAttribute(attr: string);
viewModelByModel(model: Backbone.Model) : ViewModel;
hasViewModels(): bool;
}
export interface Utils {
wrappedObservable(obj: any) : any;
wrappedObservable(obj: any, value: any);
wrappedObject(obj: any) : any;
wrappedObject(obj: any, value: any);
wrappedModel(obj: any) : any;
wrappedModel(obj: any, value: any);
wrappedStore(obj: any) : any;
wrappedStore(obj: any, value: any);
wrappedFactory(obj: any) : any;
wrappedFactory(obj: any, value: any);
wrappedEventWatcher(obj: any) : any;
wrappedEventWatcher(obj: any, value: any);
wrappedDestroy(obj: any);
valueType(observable: KnockoutObservableAny) : any;
pathJoin(path1: string, path2: string): string;
optionsPathJoin(options: any, path: string): any;
inferCreator(value: any, factory: Factory, path: string, owner: any, key: string);
createFromDefaultCreator(obj: any, options?: any);
hasModelSignature(obj: any): bool;
hasCollectionSignature(obj: any): bool;
}
export interface Static extends Utils {
collectionObservable(model?: Backbone.Collection, options?: CollectionOptions): CollectionObservable;
observable(model?: Backbone.Model, options?: any) : KnockoutObservableAny;
viewModel(model?: Backbone.Model, options?: any) : KnockoutObservableAny;
defaultObservable(targetObservable: KnockoutObservableAny, defaultValue: any) : KnockoutObservableAny;
formattedObservable(format: string, args: any[]) : KnockoutObservableAny;
formattedObservable(format: KnockoutObservableAny, args: any[]): KnockoutObservableAny;
localizedObservable(data: any, options: any): KnockoutObservableAny;
release(object: any, pre_release?: () => void );
releaseKeys(object: any);
releaseOnNodeRemove(viewmodel: ViewModel, node: Element);
renderTemplate(template: string, viewModel: ViewModel, options: any);
renderAutoReleasedTemplate(template: string, viewModel: ViewModel, options: any);
applyBindings(viewModel: ViewModel, node?: Element);
}
};
declare var kb: Knockback.Static;
+2 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for Knockout 2.2
// Project: http://knockoutjs.com
// https://github.com/borisyankov/DefinitelyTyped
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface KnockoutSubscription {
+3 -1
View File
@@ -1,6 +1,8 @@
// Type definitions for Knockout.Mapping 2.0
// Project: https://github.com/SteveSanderson/knockout.mapping
// https://github.com/borisyankov/DefinitelyTyped
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions https://github.com/borisyankov/DefinitelyTyped
interface KnockoutMappingOptions {
ignore;
+3 -1
View File
@@ -1,5 +1,7 @@
// Type definitions for Modernizr 2.6.2
// https://github.com/borisyankov/DefinitelyTyped
// Project: http://modernizr.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface AudioBool {
ogg: bool;
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Mustache 0.7
// Project: https://github.com/janl/mustache.js
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface MustacheScanner {
string: string;
tail: string;
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for node_redis 0.8
// Project: https://github.com/mranney/node_redis
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+1
View File
@@ -3,6 +3,7 @@
// Definitions by: Diullei Gomes <https://github.com/diullei>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
interface DoneCallbackObject {
failed: number;
passed: number;
+1
View File
@@ -1,5 +1,6 @@
// Type definitions for Sammy.js
// Project: http://sammyjs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
+2
View File
@@ -1,7 +1,9 @@
// Type definitions for Spin.js 1.2
// Project: http://fgnass.github.com/spin.js/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface SpinnerOptions {
lines?: number; // The number of lines to draw
length?: number; // The length of each line
+4 -1
View File
@@ -1,5 +1,8 @@
// Type definitions for Underscore 1.4.1
// https://github.com/borisyankov/DefinitelyTyped
// Project: http://underscorejs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface UnderscoreWrappedObject {
value () : any;
+1
View File
@@ -27,6 +27,7 @@ Complete
* [jQuery](http://jquery.com/) (from TypeScript samples)
* [jQuery Mobile](http://jquerymobile.com)
* [jQuery UI](http://jqueryui.com/)
* [Knockback](http://kmalakoff.github.com/knockback/) (by [Marcel Binot](https://github.com/docgit)
* [Knockout.js](http://knockoutjs.com/)
* [Knockout.Mapping](https://github.com/SteveSanderson/knockout.mapping)
* [linq.js](http://linqjs.codeplex.com/) (by Marcin Najder (https://github.com/marcinnajder))