X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/d1effc78cd6e71573f29f7901c598cabc3c2aaf8..ce1cadf0f7da03cb03d2ca728c92cfc9ea8c6517:/src/editor/modules/documentCanvas/documentCanvas.js diff --git a/src/editor/modules/documentCanvas/documentCanvas.js b/src/editor/modules/documentCanvas/documentCanvas.js index fff7996..0a31114 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.js +++ b/src/editor/modules/documentCanvas/documentCanvas.js @@ -2,10 +2,9 @@ define([ 'libs/jquery', -'libs/underscore', './canvas/canvas', './commands', -'libs/text!./template.html'], function($, _, canvas3, commands, template) { +'libs/text!./template.html'], function($, canvas3, commands, template) { 'use strict'; @@ -62,7 +61,6 @@ return function(sandbox) { }, command: function(command, params) { commands.run(command, params, canvas, sandbox.getConfig().user); - sandbox.publish('contentChanged'); } };