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
45814155
Commit
45814155
authored
Feb 26, 2018
by
Maxime Chaillet
Browse files
Options
Browse Files
Download
Plain Diff
update this branch from master
parents
02af2a1f
f9954d6d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
www/min/doi.min.js
www/min/doi.min.js
+1
-1
www/src/doicontroller.js
www/src/doicontroller.js
+1
-1
No files found.
www/min/doi.min.js
View file @
45814155
This diff is collapsed.
Click to expand it.
www/src/doicontroller.js
View file @
45814155
...
...
@@ -169,7 +169,7 @@ function extractFieldsFromCategories(data) {
function
extractFieldsFromDoi
(
data
)
{
//extract the investigationId from the doi.
var
regExp
=
RegExp
(
/
\/\w
*-*
[
Ee
][
Ss
][
Rr
][
Ff
]
-
[
Ee
][
Ss
]
-
(\d
+
)
$/
);
data
.
investigationId
=
regExp
.
exec
(
data
.
DOI
)[
2
];
data
.
investigationId
=
regExp
.
exec
(
data
.
DOI
)[
1
];
}
// Create the citation for the current work. Citation proposes a recommendation to the reader
...
...
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