Commit ccf13197 authored by Ivan Tyagov's avatar Ivan Tyagov

We need not to explicitly call bind for all InteractionGadget.

This will be done by default by RenderJs.
parent 83d9304c
...@@ -96,7 +96,6 @@ function setupRenderJSTest(){ ...@@ -96,7 +96,6 @@ function setupRenderJSTest(){
// we need to wait for all gadgets loading ... // we need to wait for all gadgets loading ...
RenderJs.GadgetIndex.getRootGadget().getDom().bind("ready", function () { RenderJs.GadgetIndex.getRootGadget().getDom().bind("ready", function () {
RenderJs.InteractionGadget.bind($("#main-interactor"));
start(); start();
equal(0, counter); equal(0, counter);
// A.inc will call B.inc, both will increase counter by 1 // A.inc will call B.inc, both will increase counter by 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment