Correct ElementView to inherit from CellView

Provide deepSupplement with options defaults.
This commit is contained in:
areel
2013-08-31 01:08:19 +01:00
parent cb1b628527
commit 34ce0b4ab9
+2 -2
View File
@@ -77,7 +77,7 @@ declare module joint {
snapToGrid(p): { x: number; y: number; };
}
class ElementView {
class ElementView extends CellView {
scale(sx: number, sy: number);
}
class CellView extends Backbone.View {
@@ -110,6 +110,6 @@ declare module joint {
function mixin(objects: any[]): any;
function supplement(objects: any[]): any;
function deepMixin(objects: any[]): any;
function deepSupplement(objects: any[]): any;
function deepSupplement(objects: any[], defaultIndicator?: any): any;
}
}