Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 83: | Line 83: | ||
}, | }, | ||
formatter: function() { | formatter: function() { | ||
var n_symindex = this.value.indexOf("Symbol:");// | var n_symindex = this.value.indexOf("Symbol:");//10 | ||
var n_descindex = this.value.indexOf("Description:"); //- | var n_descindex = this.value.indexOf("Description:"); //-7 | ||
var sym = this.value.substr(n_symindex + | var sym = this.value.substr(n_symindex +10, n_descindex-7); | ||
return sym; | return sym; | ||
} | } |
Revision as of 16:32, 20 September 2013