Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "peptide", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "peptide", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Peptide", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -17,3 +17,3 @@ 'use strict'; | ||
var fragments=sequence.replace(regexp,"$1 ").split(/ /); | ||
if (!fragments[fragments.length]) fragments=fragments.slice(0, fragments.length-1); | ||
if (!fragments[fragments.length-1]) fragments=fragments.slice(0, fragments.length-1); | ||
@@ -27,2 +27,3 @@ for (var i=0; i<fragments.length; i++) { | ||
var results=[]; | ||
@@ -29,0 +30,0 @@ |
24075