fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: fixing a message
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
documentCanvas.js
diff --git
a/src/editor/modules/documentCanvas/documentCanvas.js
b/src/editor/modules/documentCanvas/documentCanvas.js
index
aa38e79
..
da7ac81
100644
(file)
--- a/
src/editor/modules/documentCanvas/documentCanvas.js
+++ b/
src/editor/modules/documentCanvas/documentCanvas.js
@@
-2,10
+2,9
@@
define([
'libs/jquery',
define([
'libs/jquery',
-'libs/underscore',
'./canvas/canvas',
'./commands',
'./canvas/canvas',
'./commands',
-'libs/text!./template.html'], function($,
_,
canvas3, commands, template) {
+'libs/text!./template.html'], function($, canvas3, commands, template) {
'use strict';
'use strict';
@@
-61,7
+60,7
@@
return function(sandbox) {
canvas.setCurrentElement(node);
},
command: function(command, params) {
canvas.setCurrentElement(node);
},
command: function(command, params) {
- commands.run(command, params, canvas);
+ commands.run(command, params, canvas
, sandbox.getConfig().user
);
sandbox.publish('contentChanged');
}
};
sandbox.publish('contentChanged');
}
};