mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Use actual generated d.ts from webcola project (project is written in typescript)
This commit is contained in:
1 parent
af5b8275d1
commit
be2624f3f9
2 files changed
+1086
-91
No files matched your search
@@ -1,31 +0,0 @@
|
||||
/// <reference path="webcola.d.ts"/>
|
||||
module WebColaTests {
|
||||
var adaptor = new cola.adaptor({
|
||||
trigger: function() {
|
||||
},
|
||||
kick: function() {
|
||||
},
|
||||
on: function() {
|
||||
},
|
||||
drag: function() {
|
||||
}
|
||||
});
|
||||
|
||||
adaptor
|
||||
.size([100, 100])
|
||||
.avoidOverlaps(true)
|
||||
.nodes({})
|
||||
.links({})
|
||||
.handleDisconnected(true)
|
||||
.convergenceThreshold(0.001)
|
||||
.constraints({})
|
||||
.linkDistance(100)
|
||||
.flowLayout('y', 0);
|
||||
|
||||
adaptor.start(1, 2, 3);
|
||||
adaptor.stop();
|
||||
adaptor.resume();
|
||||
|
||||
cola.colaDragstart({});
|
||||
cola.colaDragend({});
|
||||
}
|
||||
Vendored
+1086
-60
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user