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';
canvas.setCurrentElement(node);
},
command: function(command, params) {
- commands.run(command, params, canvas);
+ commands.run(command, params, canvas, sandbox.getConfig().user);
sandbox.publish('contentChanged');
}
};