mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Vendored
+14
-14
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user