fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: Missing names of exercises on a canvas
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
container.js
diff --git
a/src/editor/modules/documentCanvas/canvas/container.js
b/src/editor/modules/documentCanvas/canvas/container.js
index
6436526
..
069c78a
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/container.js
+++ b/
src/editor/modules/documentCanvas/canvas/container.js
@@
-14,7
+14,7
@@
var Container = function(nodes, params, element) {
this.element = element;
nodes.forEach(function(node) {
this.element = element;
nodes.forEach(function(node) {
- var el = this.element.c
anvas.c
reateElement(node);
+ var el = this.element.createElement(node);
if(el.dom) {
this.dom.append(el.dom);
}
if(el.dom) {
this.dom.append(el.dom);
}
@@
-102,7
+102,7
@@
_.extend(Container.prototype, {
if(param instanceof documentElement.DocumentElement) {
element = param;
} else {
if(param instanceof documentElement.DocumentElement) {
element = param;
} else {
- element = this.element.c
anvas.c
reateElement(param);//
+ element = this.element.createElement(param);//
}
if(element.dom) {
this.dom.prepend(element.dom);
}
if(element.dom) {
this.dom.prepend(element.dom);