Removed snapToGrid as it doesn't seem to be part of the public JointJS API.

This commit is contained in:
EWOUT-QMINO\Ewout
2015-02-10 09:08:35 +01:00
parent 24ef5a1d8a
commit 7aa6024ba2
+1 -3
View File
@@ -1,7 +1,6 @@
// 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 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
/// <reference path="../backbone/backbone.d.ts" />
@@ -77,7 +76,6 @@ declare module joint {
findViewByModel(modelOrId:any):CellView;
findViewsFromPoint(p:{ x: number; y: number; }):CellView[];
findViewsInArea(r:{ x: number; y: number; width: number; height: number; }):CellView[];
snapToGrid(p):{ x: number; y: number; };
}
class ElementView extends CellView {