X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6ec6461eaba0dfa50a065dac18eb7cc6455cb827..3b3bcea4776b283d1a29d81bdd190778428d41e2:/modules/rng/rng.js?ds=inline diff --git a/modules/rng/rng.js b/modules/rng/rng.js index 42c71ec..d773c30 100644 --- a/modules/rng/rng.js +++ b/modules/rng/rng.js @@ -256,17 +256,8 @@ return function(sandbox) { ready: function() { views.visualEditing.setView('toolbar', sandbox.getModule('documentToolbar').getView()); }, - toggleGrid: function(toggle) { - sandbox.getModule('documentCanvas').toggleGrid(toggle); - }, - toggleList: function(toggle) { - sandbox.getModule('documentCanvas').toggleList(toggle); - }, - newNodeRequested: function(wlxmlTag, wlxmlClass) { - sandbox.getModule('documentCanvas').insertNewNode(wlxmlTag, wlxmlClass); - }, - command: function(cmd, meta) { - sandbox.getModule('documentCanvas').command(cmd, meta); + command: function(cmd, params) { + sandbox.getModule('documentCanvas').command(cmd, params); } };