Merge pull request #1 from DefinitelyTyped/master

update from original
This commit is contained in:
trystanclarke
2016-03-23 12:33:46 +00:00
3746 changed files with 1375057 additions and 333005 deletions
+14 -14
View File
@@ -1,14 +1,14 @@
// Type definitions for Joint JS 0.9.3
// Project: http://www.jointjs.com/
// Definitions by: Aidan Reel <http://github.com/areel>, David Durman <http://github.com/DavidDurman>, Ewout Van Gossum <https://github.com/DenEwout>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../backbone/backbone.d.ts" />
declare module joint {
declare namespace joint {
module dia {
namespace dia {
interface IElementSize {
width: number;
@@ -61,12 +61,12 @@ declare module joint {
}
interface IOptions {
width: number;
height: number;
gridSize: number;
perpendicularLinks: boolean;
elementView: ElementView;
linkView: LinkView;
width?: number;
height?: number;
gridSize?: number;
perpendicularLinks?: boolean;
elementView?: ElementView;
linkView?: LinkView;
}
class Paper extends Backbone.View<Backbone.Model> {
@@ -107,11 +107,11 @@ declare module joint {
}
module ui {}
namespace ui {}
module shapes {
module basic {
class Generic extends joint.dia.Element {
namespace shapes {
namespace basic {
class Generic extends dia.Element {
}
class Rect extends Generic {
}
@@ -124,7 +124,7 @@ declare module joint {
}
}
module util {
namespace util {
function uuid():string;
function guid(obj:any):string;
function mixin(objects:any[]):any;