From 12b98a437218d4331ceb1f07d78ee3eed7782230 Mon Sep 17 00:00:00 2001 From: Jon Egerton Date: Wed, 21 Aug 2013 09:09:25 +0100 Subject: [PATCH 1/2] sammyjs: Resolve syntax issue with route overloads Resolve issue with route overloads by removing the route overload that returns void in favour of those that return Application (this matches the library code) --- sammyjs/sammyjs.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sammyjs/sammyjs.d.ts b/sammyjs/sammyjs.d.ts index 34404d136..40fdab667 100644 --- a/sammyjs/sammyjs.d.ts +++ b/sammyjs/sammyjs.d.ts @@ -81,7 +81,6 @@ declare module Sammy { $element(selector?: string): JQuery; after(callback: Function): Application; any(verb: string, path: string, callback: Function): void; - route(verb: string, path: string, callback: Function): void; around(callback: Function): Application; before(options: any, callback: Function): Application; bind(name: string, callback: Function): Application; From 4a4c8157edb886ea53f49f037cbafd2c70abe32e Mon Sep 17 00:00:00 2001 From: Jon Egerton Date: Wed, 21 Aug 2013 09:27:34 +0100 Subject: [PATCH 2/2] Add line to README.md for added docCookies types --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1127d0cec..076189618 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -DefinitelyTyped [![Build Status](https://travis-ci.org/borisyankov/DefinitelyTyped.png?branch=master)](https://travis-ci.org/borisyankov/DefinitelyTyped) +DefinitelyTyped [![Build Status](https://travis-ci.org/borisyankov/DefinitelyTyped.png?branch=master)](https://travis-ci.org/borisyankov/DefinitelyTyped) =============== The repository for *high quality* TypeScript type definitions. @@ -47,6 +47,7 @@ List of Definitions * [CodeMirror](http://codemirror.net) (by [François de Campredon](https://github.com/fdecampredon)) * [Commander](http://github.com/visionmedia/commander.js) (by [Marcelo Dezem](https://github.com/mdezem)) * [d3.js](http://d3js.org/) (from TypeScript samples) +* [docCookies](https://developer.mozilla.org/en-US/docs/Web/API/document.cookie) (by [Jon Egerton](https://github.com/jonegerton)) * [domo](http://domo-js.com/) (by [Steve Fenton](https://github.com/Steve-Fenton)) * [dust](http://linkedin.github.com/dustjs) (by [Marcelo Dezem](https://github.com/mdezem)) * [EaselJS](http://www.createjs.com/#!/EaselJS) (by [Pedro Ferreira](https://bitbucket.org/drk4))