Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
3cb71c2a
Commit
3cb71c2a
authored
4 years ago
by
Stephan Porada
Browse files
Options
Downloads
Patches
Plain Diff
FIx Typos
parent
b6986e25
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/app/static/js/modules/corpus_analysis/client/Client.js
+2
-2
2 additions, 2 deletions
web/app/static/js/modules/corpus_analysis/client/Client.js
web/app/static/js/modules/corpus_analysis/client/callbacks.js
+2
-1
2 additions, 1 deletion
...app/static/js/modules/corpus_analysis/client/callbacks.js
with
4 additions
and
3 deletions
web/app/static/js/modules/corpus_analysis/client/Client.js
+
2
−
2
View file @
3cb71c2a
...
@@ -78,7 +78,7 @@ class Client {
...
@@ -78,7 +78,7 @@ class Client {
detailObject
.
notificationType
=
notificationType
;
detailObject
.
notificationType
=
notificationType
;
detailObject
.
raiseModalFeedback
=
raiseModalFeedback
;
detailObject
.
raiseModalFeedback
=
raiseModalFeedback
;
const
event
=
new
CustomEvent
(
'
notify-view
'
,
{
detail
:
detailObject
});
const
event
=
new
CustomEvent
(
'
notify-view
'
,
{
detail
:
detailObject
});
console
[
notificationType
](
'
Client dispatching Notification with
detail object in
details:
'
,
console
[
notificationType
](
'
Client dispatching Notification with details:
'
,
detailObject
);
detailObject
);
document
.
dispatchEvent
(
event
);
document
.
dispatchEvent
(
event
);
}
}
...
@@ -136,7 +136,7 @@ class Client {
...
@@ -136,7 +136,7 @@ class Client {
tmp_first_cpos
.
push
(
results
.
data
.
matches
[
dataIndex
].
c
[
0
]);
tmp_first_cpos
.
push
(
results
.
data
.
matches
[
dataIndex
].
c
[
0
]);
tmp_last_cpos
.
push
(
results
.
data
.
matches
[
dataIndex
].
c
[
1
]);
tmp_last_cpos
.
push
(
results
.
data
.
matches
[
dataIndex
].
c
[
1
]);
}
}
nopaque
.
socket
.
emit
(
"
corpus_analysis_get_match_with_full_context
"
,
nopaque
.
socket
.
emit
(
'
corpus_analysis_get_match_with_full_context
'
,
{
type
:
resultsType
,
{
type
:
resultsType
,
data_indexes
:
dataIndexes
,
data_indexes
:
dataIndexes
,
first_cpos
:
tmp_first_cpos
,
first_cpos
:
tmp_first_cpos
,
...
...
This diff is collapsed.
Click to expand it.
web/app/static/js/modules/corpus_analysis/client/callbacks.js
+
2
−
1
View file @
3cb71c2a
...
@@ -81,7 +81,8 @@ function saveQueryData() {
...
@@ -81,7 +81,8 @@ function saveQueryData() {
function
getResultsData
()
{
function
getResultsData
()
{
let
[
resultsType
,
dataIndexes
,
resultsList
,
client
,
results
,
rest
]
=
arguments
;
let
[
resultsType
,
dataIndexes
,
resultsList
,
client
,
results
,
rest
]
=
arguments
;
client
.
isBusy
=
true
;
client
.
isBusy
=
true
;
if
(
resultsList
.
exportFullInspectContext
.
checked
||
resultsType
===
'
inspect-results
'
)
{
if
(
resultsList
.
exportFullInspectContext
.
checked
||
resultsType
===
'
inspect-results
'
)
{
console
.
info
(
'
Get results with full context
'
);
console
.
info
(
'
Get results with full context
'
);
client
.
getResultsData
(
resultsType
,
dataIndexes
,
results
);
client
.
getResultsData
(
resultsType
,
dataIndexes
,
results
);
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment