update webcola typings for v3.1.0

This commit is contained in:
Qinfeng Chen
2015-02-20 14:12:02 -05:00
parent e93130560d
commit dbd695433c
2 changed files with 9 additions and 6 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
/// <reference path="webcola.d.ts"/>
module WebColaTests {
var adaptor = cola.adaptor({
var adaptor = new cola.adaptor({
trigger: function() {
},
kick: function() {
@@ -23,8 +23,9 @@ module WebColaTests {
.flowLayout('y', 0);
adaptor.start(1, 2, 3);
adaptor.dragstart({});
adaptor.dragend({});
adaptor.stop();
adaptor.resume();
cola.colaDragstart({});
cola.colaDragend({});
}