diff --git a/README.md b/README.md
index b71264e6c..1578aa058 100755
--- a/README.md
+++ b/README.md
@@ -110,12 +110,14 @@ List of Definitions
* [jQuery.Flot](http://www.flotcharts.org/) (by [Matt Burland](https://github.com/burlandm))
* [jQuery.form](http://malsup.com/jquery/form/) (by [François Guillot](http://fguillot.developpez.com/))
* [jQuery.Globalize](https://github.com/jquery/globalize) (by [Boris Yankov](https://github.com/borisyankov))
-* [jQuery.gridster] (http://gridster.net) (by [Josh Baldwin](https://github.com/jbaldwin/gridster.d.ts))
+* [jQuery.gridster](http://gridster.net) (by [Josh Baldwin](https://github.com/jbaldwin/gridster.d.ts))
* [jQuery.jNotify](http://jnotify.codeplex.com) (by [James Curran](https://github.com/jamescurran/))
* [jQuery.noty](http://needim.github.io/noty/) (by [Aaron King](https://github.com/kingdango/))
* [jQuery.pickadate](https://github.com/amsul/pickadate.js) (by [Theodore Brown](https://github.com/theodorejb))
+* [jQuery.payment](http://needim.github.io/noty/) (by [Eric J. Smith](https://github.com/ejsmith/))
* [jQuery.scrollTo](https://github.com/flesler/jquery.scrollTo) (by [Neil Stalker](https://github.com/nestalk/))
* [jQuery.simplePagination](https://github.com/flaviusmatis/simplePagination.js) (by [Natan Vivo](https://github.com/nvivo/))
+* [jquery.superLink](http://james.padolsey.com/demos/plugins/jQuery/superLink/superlink.jquery.js) (by [Blake Niemyjski](https://github.com/niemyjski))
* [jQuery.timeago](http://timeago.yarp.com/) (by [François Guillot](http://fguillot.developpez.com/))
* [jQuery.Timepicker](http://fgelinas.com/code/timepicker/) (by [Anwar Javed](https://github.com/anwarjaved))
* [jQuery.TinyCarousel](http://baijs.nl/tinycarousel/) (by [Christiaan Rakowski](https://github.com/csrakowski))
@@ -168,6 +170,7 @@ List of Definitions
* [PreloadJS](http://www.createjs.com/#!/PreloadJS) (by [Pedro Ferreira](https://bitbucket.org/drk4))
* [QUnit](http://qunitjs.com/) (by [Diullei Gomes](https://github.com/Diullei))
* [Raven.js](https://github.com/getsentry/raven-js) (by [Santi Albo](https://github.com/santialbo))
+* [Rickshaw](http://code.shutterstock.com/rickshaw/) (by [Blake Niemyjski](https://github.com/niemyjski))
* [Restify](https://github.com/mcavage/node-restify) (by [Bret Little](https://github.com/blittle))
* [Royalslider](http://dimsemenov.com/plugins/royal-slider/) (by [Christiaan Rakowski](https://github.com/csrakowski))
* [Rx.js](http://rx.codeplex.com/) (by [gsino](http://www.codeplex.com/site/users/view/gsino))
@@ -180,11 +183,12 @@ List of Definitions
* [SharePoint](http://sptypescript.codeplex.com) (by [Stanislav Vyshchepan](http://gandjustas.blogspot.ru) and [Andrey Markeev](http://markeev.com))
* [SignalR](http://www.asp.net/signalr) (by [Boris Yankov](https://github.com/borisyankov))
* [Sinon](http://sinonjs.org/) (by [William Sears](https://github.com/mrbigdog2u))
-* [SlickGrid] (https://github.com/mleibman/SlickGrid) (by [Josh Baldwin](https://github.com/jbaldwin))
+* [SlickGrid](https://github.com/mleibman/SlickGrid) (by [Josh Baldwin](https://github.com/jbaldwin))
* [socket.io](http://socket.io) (by [William Orr](https://github.com/worr))
* [SockJS](https://github.com/sockjs/sockjs-client) (by [Emil Ivanov](https://github.com/vladev))
* [SoundJS](http://www.createjs.com/#!/SoundJS) (by [Pedro Ferreira](https://bitbucket.org/drk4))
* [Spin](http://fgnass.github.com/spin.js/) (by [Boris Yankov](https://github.com/borisyankov))
+* [stripe](https://stripe.com/) (by [Eric J. Smith](https://github.com/ejsmith/))
* [Store.js](https://github.com/marcuswestin/store.js/) (by [Vincent Bortone](https://github.com/vbortone))
* [Sugar](http://sugarjs.com/) (by [Josh Baldwin](https://github.com/jbaldwin/))
* [Swiper](http://www.idangero.us/sliders/swiper) (by [Sebastián Galiano](https://github.com/sgaliano))
@@ -216,7 +220,6 @@ List of Definitions
Requested Definitions
---------------------
-* [Rickshaw](https://github.com/shutterstock/rickshaw)
* [jQuery ScrollTo](https://github.com/balupton/jquery-scrollto)
* [Crossfilter](https://github.com/square/crossfilter)
* [dc.js](https://github.com/NickQiZhu/dc.js)
@@ -227,4 +230,4 @@ Requested Definitions
* [java](https://github.com/nearinfinity/node-java)
* [SVG.js](http://www.svgjs.com/)
-In addition you can find the [updated open requests that you can contribute here](https://github.com/borisyankov/DefinitelyTyped/issues?labels=request&page=1&state=open)
+In addition you can find the [updated open requests that you can contribute here](https://github.com/borisyankov/DefinitelyTyped/issues?labels=request&page=1&state=open)
\ No newline at end of file
diff --git a/jquery.payment/jquery.payment.d.ts b/jquery.payment/jquery.payment.d.ts
new file mode 100644
index 000000000..a4adc2e77
--- /dev/null
+++ b/jquery.payment/jquery.payment.d.ts
@@ -0,0 +1,26 @@
+// Type definitions for jQuery.payment
+// Project: https://github.com/stripe/jquery.payment
+// Definitions by: Eric J. Smith
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+interface JQuery {
+ payment(validatorName: string);
+}
+
+interface JQueryStatic {
+ payment: JQueryPayment;
+}
+
+interface JQueryPayment {
+ validateCardNumber(cardNumber: string) : boolean;
+ validateCardExpiry(year: string, month: string) : boolean;
+ validateCardExpiry(expiry: any) : boolean;
+ validateCardCVC(cvc: string, type: string) : boolean;
+ cardType(cardNumber: string): string;
+ cardExpiryVal(monthYear: string): JQueryPaymentExpiryInfo;
+}
+
+interface JQueryPaymentExpiryInfo {
+ month: number;
+ year: number;
+}
\ No newline at end of file
diff --git a/jquery.superLink/jquery.superLink.d.ts b/jquery.superLink/jquery.superLink.d.ts
new file mode 100644
index 000000000..0bcbe908b
--- /dev/null
+++ b/jquery.superLink/jquery.superLink.d.ts
@@ -0,0 +1,10 @@
+// Type definitions for jquery.superLink
+// Project: http://james.padolsey.com/demos/plugins/jQuery/superLink/superlink.jquery.js
+// Definitions by: Blake Niemyjski
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+///
+
+interface JQuery {
+ superLink(link?: string): JQuery;
+}
\ No newline at end of file
diff --git a/knockout/knockout.amd.d.ts b/knockout/knockout.amd.d.ts
new file mode 100644
index 000000000..960a0286d
--- /dev/null
+++ b/knockout/knockout.amd.d.ts
@@ -0,0 +1,80 @@
+// Type definitions for Knockout 2.2 (as an AMD module)
+// Project: http://knockoutjs.com
+// Definitions by: Boris Yankov
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+///
+
+declare module 'knockout' {
+ export var utils: KnockoutUtils;
+ export var memoization: KnockoutMemoization;
+ export var bindingHandlers: KnockoutBindingHandlers;
+ export var virtualElements: KnockoutVirtualElements;
+ export var extenders: KnockoutExtenders;
+ export function applyBindings(viewModel: any, rootNode?: any): void;
+ export function applyBindingsToDescendants(viewModel: any, rootNode: any): void;
+ export function applyBindingsToNode(node: Element, options: any, viewModel: any): void;
+ export var subscribable: KnockoutSubscribableStatic;
+ export var observable: KnockoutObservableStatic;
+ export var computed: KnockoutComputedStatic;
+ export var observableArray: KnockoutObservableArrayStatic;
+ export function contextFor(node: any): any;
+ export function isSubscribable(instance: any): boolean;
+ export function toJSON(viewModel: any, replacer?: Function, space?: any): string;
+ export function toJS(viewModel: any): any;
+ export function isObservable(instance: any): boolean;
+ export function isComputed(instance: any): boolean;
+ export function dataFor(node: any): any;
+ export function removeNode(node: Element);
+ export function cleanNode(node: Element);
+ export function renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any);
+ export function renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any);
+
+ //////////////////////////////////
+ //// templateSources.js
+ ////////////////////////////////////
+ export var templateSources: KnockoutTemplateSources;
+ ////////////////////////////////////
+ //// templateEngine.js
+ ////////////////////////////////////
+ export var templateEngine: {
+ prototype: KnockoutTemplateEngine;
+ new (): KnockoutTemplateEngine;
+ };
+ ////////////////////////////////////
+ //// templateRewriting.js
+ ////////////////////////////////////
+ export var templateRewriting: {
+ ensureTemplateIsRewritten(template, templateEngine, templateDocument);
+ memoizeBindingAttributeSyntax(htmlString: string, templateEngine: KnockoutTemplateEngine);
+ applyMemoizedBindingsToNextSibling(bindings);
+ };
+ ////////////////////////////////////
+ //// nativeTemplateEngine.js
+ ////////////////////////////////////
+ export var nativeTemplateEngine: {
+ prototype: KnockoutNativeTemplateEngine;
+ new (): KnockoutNativeTemplateEngine;
+ instance: KnockoutNativeTemplateEngine;
+ };
+ ////////////////////////////////////
+ //// jqueryTmplTemplateEngine.js
+ ////////////////////////////////////
+ export var jqueryTmplTemplateEngine: {
+ prototype: KnockoutTemplateEngine;
+ renderTemplateSource(templateSource, bindingContext, options);
+ createJavaScriptEvaluatorBlock(script: string): string;
+ addTemplate(templateName, templateMarkup);
+ };
+ ////////////////////////////////////
+ //// templating.js
+ ////////////////////////////////////
+ export function setTemplateEngine(templateEngine: KnockoutNativeTemplateEngine);
+ export function renderTemplate(template, dataOrBindingContext, options, targetNodeOrNodeArray, renderMode);
+ export function renderTemplateForEach(template, arrayOrObservableArray, options, targetNode, parentBindingContext);
+ export var expressionRewriting: {
+ bindingRewriteValidators: any;
+ };
+
+ ///////////////////////////////////
+ export var bindingProvider: any;
+}
\ No newline at end of file
diff --git a/rickshaw/rickshaw.d.ts b/rickshaw/rickshaw.d.ts
new file mode 100644
index 000000000..42af1d34f
--- /dev/null
+++ b/rickshaw/rickshaw.d.ts
@@ -0,0 +1,6 @@
+// Type definitions for Rickshaw
+// Project: http://code.shutterstock.com/rickshaw/
+// Definitions by: Blake Niemyjski
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+declare var Rickshaw: any;
\ No newline at end of file
diff --git a/stripe/stripe.d.ts b/stripe/stripe.d.ts
new file mode 100644
index 000000000..f5c1b3ff0
--- /dev/null
+++ b/stripe/stripe.d.ts
@@ -0,0 +1,62 @@
+// Type definitions for stripe
+// Project: https://stripe.com/
+// Definitions by: Eric J. Smith
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+interface StripeStatic {
+ setPublishableKey(key: string);
+ createToken(data: StripeTokenData, responseHandler: (status: number, response: StripeTokenResponse) => void);
+ validateCardNumber(cardNumber: string): boolean;
+ validateExpiry(month: string, year: string): boolean;
+ validateCVC(cardCVC: string): boolean;
+ cardType(cardNumber: string): string;
+ getToken(token: string, responseHandler: (status: number, response: StripeTokenResponse) => void);
+}
+
+interface StripeTokenData {
+ number: string;
+ exp_month: number;
+ exp_year: number;
+ cvc?: string;
+ name?: string;
+ address_line1?: string;
+ address_line2?: string;
+ address_city?: string;
+ address_state?: string;
+ address_zip?: string;
+ address_country?: string;
+}
+
+interface StripeTokenResponse {
+ id: string;
+ card: StripeCardData;
+ created: number;
+ currency: string;
+ livemode: boolean;
+ object: string;
+ used: boolean;
+ error: StripeError;
+}
+
+interface StripeError {
+ message: string;
+}
+
+interface StripeCardData {
+ object: string;
+ last4: string;
+ type: string;
+ exp_month: number;
+ exp_year: number;
+ fingerprint: string;
+ country?: string;
+ name?: string;
+ address_line1?: string;
+ address_line2?: string;
+ address_city?: string;
+ address_state?: string;
+ address_zip?: string;
+ address_country?: string;
+}
+
+declare var Stripe: StripeStatic;
\ No newline at end of file