fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integration wip: saving document
[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
3ca4e46
..
6331922
100644
(file)
--- a/
src/editor/modules/documentCanvas/documentCanvas.js
+++ b/
src/editor/modules/documentCanvas/documentCanvas.js
@@
-1,10
+1,11
@@
// Module that implements main WYSIWIG edit area
define([
// Module that implements main WYSIWIG edit area
define([
+'libs/jquery',
'libs/underscore',
'./canvas/canvas',
'./commands',
'libs/underscore',
'./canvas/canvas',
'./commands',
-'libs/text!./template.html'], function(_, canvas3, commands, template) {
+'libs/text!./template.html'], function(
$,
_, canvas3, commands, template) {
'use strict';
'use strict';
@@
-34,7
+35,7
@@
return function(sandbox) {
/* public api */
return {
start: function() { sandbox.publish('ready'); },
/* public api */
return {
start: function() { sandbox.publish('ready'); },
- getView: function() {
+ getView: function() {
return canvasWrapper;
},
setDocument: function(wlxmlDocument) {
return canvasWrapper;
},
setDocument: function(wlxmlDocument) {