Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
d90896df
Commit
d90896df
authored
Jan 30, 2019
by
bbaer
Browse files
Problem with current user not working was incorrect JSON formatting
parent
19ae6b29
Pipeline
#1445
passed with stage
in 2 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/CodeCorrection.js
View file @
d90896df
...
...
@@ -76,7 +76,6 @@ var QfqNS = QfqNS || {};
// Get data of a file and write it to data.text
$
.
get
(
this
.
data
.
url
,
function
(
response
)
{
that
.
data
.
text
=
response
;
console
.
log
(
response
);
that
.
_prepareBuild
();
});
}
else
if
(
this
.
data
.
text
)
{
...
...
mockup/codeCorrection.html
View file @
d90896df
...
...
@@ -5,10 +5,9 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<link
rel=
"stylesheet"
href=
"../css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"../css/bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"../css/jqx.base.css"
>
<link
rel=
"stylesheet"
href=
"../css/jqx.bootstrap.css"
>
<link
rel=
"stylesheet"
href=
"../extension/Resources/Public/Css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"../extension/Resources/Public/Css/bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"../extension/Resources/Public/Css/qfq-bs.css"
>
<title>
Input Mode Switcher
</title>
...
...
@@ -36,14 +35,14 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-2"
></div>
<div
class=
"col-md-8"
>
<div
class=
"annotate-text"
data-uid=
'{uid: 5, name: "Definitely not an AI", avatar: "mockData/avatar1.png"}'
data-uid=
'{ "uid": 5,
"name": "Definitely not an AI",
"avatar": "mockData/avatar1.png"}'
data-file=
"../javascript/src/CodeCorrection.js"
data-target=
"codeCorrection-output1"
data-highlight=
"mockData/javascript.json"
...
...
Write
Preview
Markdown
is supported
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