Coder Social home page Coder Social logo

Comments (6)

websemantics avatar websemantics commented on August 18, 2024 1

Building on @dmachi's comment, add the following before instantiating msa

delete Array.prototype.at 

Not ideal but it works

from msa.

JacobPorter avatar JacobPorter commented on August 18, 2024

This seems related to Issue #259. I am a developer for bv-brc.org, and we use this viewer. It has recently stopped working for us when Firefox and Chromium were upgraded to the latest releases. Chrome rendering stopped working in version 92.0.4515.131, and Firefox rendering stopped working on version 90.0.2.

from msa.

l-singh-biomsu avatar l-singh-biomsu commented on August 18, 2024

Is there any ideas how to fix the issue?
I just tried this workaround from the isuue #257. Some configurations are missed, but it works.

from msa.

dmachi avatar dmachi commented on August 18, 2024

@l-singh-biomsu The issue is the 'at' in seqs portion of https://github.com/wilzbach/stat.seqs/blob/master/lib/index.js#L52

at() is now a method of JS Arrays on Chrome/FF (but not on Safari and other browsers yet) and so this check doesnt' do what is expected.

We replaced this with a check like '_byId' in seqs that works for our particular case because of the data we're initially passing in, but I am not sure if it is a valid general solution for others. If not a different check will need to be applied there.

from msa.

guignonv avatar guignonv commented on August 18, 2024

How about checking 'on' instead of '_byId' since it's that method which is called?

from msa.

huy-nguyen avatar huy-nguyen commented on August 18, 2024

I've made a fix for this on my own fork that I think is more robust. niaid@e82512e

from msa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.