Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#1325 from nvivo/backbone
Browse files Browse the repository at this point in the history
Fix declaration of Backbone.noConflict() and added Backbone.$
  • Loading branch information
basarat committed Nov 24, 2013
2 parents 8b85319 + 2e52be7 commit 45da52c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions backbone/backbone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,8 @@ declare module Backbone {
var emulateJSONBackbone: boolean;

// Utility

// 0.9 cannot return modules anymore, and "typeof <Module>" is not compiling for some reason
// returning "any" until this is fixed

//function noConflict(): typeof Backbone;
function noConflict(): any;

function noConflict(): typeof Backbone;
function setDomLibrary(jQueryNew: any): any;

var $: JQueryStatic;
}

0 comments on commit 45da52c

Please sign in to comment.