Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pdn-certic
MaX
Commits
0124c478
Commit
0124c478
authored
3 years ago
by
Jerome Chauveau
Browse files
Options
Downloads
Patches
Plain Diff
Mise à jour pour création de la release 1.0.1
parent
8cb4b4a7
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+5
-0
5 additions, 0 deletions
CHANGELOG
package.json
+1
-1
1 addition, 1 deletion
package.json
plugins/apparat_critique/apparat_critique.js
+0
-9
0 additions, 9 deletions
plugins/apparat_critique/apparat_critique.js
with
6 additions
and
10 deletions
CHANGELOG
+
5
−
0
View file @
0124c478
# Changelog
## [1.0.1] - 02/05/2022
* Correctif du plugin apparat critique
* Uniformisation du traitement xquery lors de la consultation d'un fragment ou d'un document complet (text_hook.xq)
## [1.0.0] - 01/04/2022
Première version packagée de MaX
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
0124c478
{
"name"
:
"MaX"
,
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"description"
:
"Moteur d'Affichage XML / XML renderer engine"
,
"repository"
:
"git@git.unicaen.fr:pdn-certic/MaX.git"
,
"author"
:
"JC / Certic / DSI / Unicaen"
,
...
...
This diff is collapsed.
Click to expand it.
plugins/apparat_critique/apparat_critique.js
+
0
−
9
View file @
0124c478
...
...
@@ -34,14 +34,10 @@ class ApparatPlugin extends Plugin{
wrapLacunas
()
{
document
.
querySelectorAll
(
'
.lacunaStart
'
).
forEach
((
lstart
)
=>
{
const
wit
=
lstart
.
getAttribute
(
'
data-lacuna-wit
'
).
replace
(
'
#
'
,
''
);
console
.
log
(
'
wit->
'
,
wit
);
let
searchedId
=
lstart
.
getAttribute
(
'
data-lacuna-synch
'
);
console
.
log
(
"
searchedid
"
,
searchedId
);
let
endElement
=
document
.
getElementById
(
searchedId
);
console
.
log
(
'
traitement de la lacuna
'
+
lstart
.
getAttribute
(
'
id
'
));
endElement
=
endElement
.
length
===
0
?
document
.
getElementById
(
'
bas_de_page
'
)
:
endElement
let
eltsBetween
=
this
.
getElementsBetweenTree
(
lstart
,
endElement
);
//$(self.getElementsBetweenTree(($(this))[0], endElement[0]))
console
.
log
(
"
Nombre d'éléments à masquer (lacune
"
+
lstart
.
getAttribute
(
'
id
'
)
+
"
)
"
+
eltsBetween
.
length
);
eltsBetween
.
forEach
((
elt
)
=>
{
let
span
=
document
.
createElement
(
"
span
"
);
span
.
classList
.
add
(
'
generated_lacuna
'
);
...
...
@@ -52,11 +48,6 @@ class ApparatPlugin extends Plugin{
})
})
/*Cas où un couple lacunaStart/lacunaEnd se trouve respectivement dans
des fragments qui précédent et suivent le fragment courant:
nécessite une requête sur la DB pour accedéer aux autres noeuds XML*/
}
getElementsBetweenTree
(
start
,
end
)
{
...
...
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