GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
460 stars 199 forks source link

jbrowse code incompatibility #457

Closed kipal1988 closed 10 years ago

kipal1988 commented 10 years ago

Hi, The browser has a lot of code incompatibility with existing modern standards such as css hide rules. While the browser itself loads data quiet fast and works wonderfully when implemented into a static web page by itself, it goes haywire when other modern features are implemented along with it. I had to implement a jquery hack to get it working in my html markup on firefox and I also had to move out of the schema of a certified doctype because the browser is incompatible with it.

It is my request that you take a look at what I am saying before signing this off as a solved thread. Newer features won't be a plus for anyone if they are stuck for weeks trying to work around a bug which is not their creation.

cmdcolin commented 10 years ago

Hi, we are striving for browser compatibility and I'm sorry it's caused you some problems. I am imagining that you are trying to modify JBrowse (which is great!) but I am imagining that you might be working against the grain by not using a supported format. First, I think that you may want to consider using Dojo.js instead of Jquery. Although JQuery might not be totally incompatible, Dojo is the main framework for JBrowse, so it is the best supported. Second, to create custom modifications to JBrowse, the best way would be to load your own custom classes defined in AMD format in the plugins folder. Check out the configuration guide for a brief introduction to this http://gmod.org/wiki/JBrowse_Configuration_Guide#Writing_JBrowse_Plugins Sorry for the trouble but let me know if you have any questions about this!

cmdcolin commented 10 years ago

If I'm incorrect about my previous statement, let me know also

cmdcolin commented 10 years ago

Closing for now