Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doi-landing-page
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maxime Chaillet
doi-landing-page
Commits
74b6f2b2
Commit
74b6f2b2
authored
Apr 15, 2019
by
Maxime Chaillet
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue72' into 'master'
Fix append() method. This is a test. See merge request
!85
parents
5be9a747
d587728b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
www/min/doi.min.js
www/min/doi.min.js
+1
-1
www/src/doiview.js
www/src/doiview.js
+5
-3
No files found.
www/min/doi.min.js
View file @
74b6f2b2
This diff is collapsed.
Click to expand it.
www/src/doiview.js
View file @
74b6f2b2
...
@@ -180,9 +180,11 @@ DOIView.prototype.setDataAccessMessage = function (doiData) {
...
@@ -180,9 +180,11 @@ DOIView.prototype.setDataAccessMessage = function (doiData) {
* @param {string} data doi metadata in Json+LD format as provided by datacite.
* @param {string} data doi metadata in Json+LD format as provided by datacite.
*/
*/
DOIView
.
prototype
.
addDOIMetadataToHead
=
function
(
data
)
{
DOIView
.
prototype
.
addDOIMetadataToHead
=
function
(
data
)
{
$
(
'
head
'
).
append
(
'
<script>
'
)
$
(
'
head
'
).
append
(
.
attr
(
'
type
'
,
'
application/ld+json
'
)
$
(
'
<script>
'
)
.
text
(
data
);
.
attr
(
'
type
'
,
'
application/ld+json
'
)
.
text
(
data
)
);
// $('<script>')
// $('<script>')
// .attr('type', 'application/ld+json')
// .attr('type', 'application/ld+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