fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove mismatched html tags
[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
069c78a
..
663a159
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/container.js
+++ b/
src/editor/modules/documentCanvas/canvas/container.js
@@
-8,9
+8,11
@@
var $ = require('libs/jquery'),
var Container = function(nodes, params, element) {
var Container = function(nodes, params, element) {
+ params = params || {};
_.extend(this, params);
this.dom = this.dom || $('<div>');
this.dom.addClass('canvas-container');
_.extend(this, params);
this.dom = this.dom || $('<div>');
this.dom.addClass('canvas-container');
+ this.dom.toggleClass('reset-background', !!params.resetBackground);
this.element = element;
nodes.forEach(function(node) {
this.element = element;
nodes.forEach(function(node) {