Commit a9df75cf authored by Alejandro De Maria Antolinos's avatar Alejandro De Maria Antolinos
Browse files

It is minified now

parent 23c2094d
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,9 +8,10 @@ function ExperimentalReportController() {
ExperimentalReportController.prototype.normalizeProposalName = function (proposalName) {
var aroundHyphenRegExp;
try {
// extract the proposal LetterCode (before the hyphen) and the digits (after the hyphen)
var aroundHyphenRegExp = new RegExp(/^(.*)-(.*)/);
aroundHyphenRegExp = new RegExp(/^(.*)-(.*)/);
return {
categoryCode: aroundHyphenRegExp.exec(proposalName)[1],
categoryCounter: aroundHyphenRegExp.exec(proposalName)[2]
......@@ -18,7 +19,7 @@ ExperimentalReportController.prototype.normalizeProposalName = function (proposa
} catch (e) {
/** It is most likely that symbol '-' is not present in the proposal name then we use /\d+$/ */
var aroundHyphenRegExp = new RegExp( /\d+$/);
aroundHyphenRegExp = new RegExp( /\d+$/);
/** This will get all numbers at the end of the string
* Example: input=mx3030 then output[0]=3030
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment