Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
22224d2a
Commit
22224d2a
authored
Sep 19, 2017
by
bbaer
Browse files
output now as string instead of useless object pointer :)
parent
a931bc49
Changes
1
Show whitespace changes
Inline
Side-by-side
javascript/src/Plugins/qfq.fabric.js
View file @
22224d2a
...
...
@@ -276,7 +276,8 @@ $(function (n) {
this
.
canvas
.
on
(
'
mouse:out
'
,
function
(
e
)
{
that
.
defaultMouseOutEvent
(
e
)
});
this
.
canvas
.
on
(
'
after:render
'
,
function
(){
this
.
calcOffset
();
$
(
'
#fabric-output
'
).
val
(
that
.
canvas
.
toJSON
());
$
(
'
#fabric-output
'
).
val
(
JSON
.
stringify
(
that
.
canvas
.
toJSON
()));
console
.
log
(
that
.
canvas
.
toJSON
());
});
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment