calipho-sib / sequence-viewer

neXtProt protein sequence viewer (javascript) - From SIB CALIPHO group; neXtProt project
https://cdn.rawgit.com/calipho-sib/sequence-viewer/master/examples/index.html
50 stars 17 forks source link

Unique ID clash with 'teste' #6

Closed jogoodma closed 8 years ago

jogoodma commented 8 years ago

I removed the 'teste' ID from a div in the 'sources' variable. Otherwise, using the component more than once in a page produces div elements with non unique IDs. I didn't see any place that it was currently being used and all unit tests still pass. Removing it seemed like the best course of action.

MatSchaeff commented 8 years ago

Hello Josh,

You're right, I have forgotten to remove it.. Thanks !

jogoodma commented 8 years ago

Thanks. Btw, I've created a React wrapper for sequence-viewer. We plan to roll it out on @FlyBase. Thanks for your hard work!

https://github.com/FlyBase/react-sequence-viewer https://www.npmjs.com/package/react-sequence-viewer