Comments (6)
I could solve the issue by re-generating the browserified file :
browserify index.js --s blasterjs > blasterjs.js
maybe you could consider update the browserify command in package.json !
from biojs-vis-blasterjs.
Hi Adrien,
First of all thank you very much for reporting this bug.
We have tested on different machines and we can not get the build / blasterjs.js file wrong. We have tried installing it directly with "npm install biojs-vis-blasterjs" and also cloned it from Github and running "npm install", and with both methods it generates, on all machines, the files correctly.
If you check the example on BioJS Registry (http://biojs.io/d/biojs-vis-blasterjs) also builds it correctly.
When you run the command "npm install", it must automatically run the "build" command which in turn runs "browserfy".
We will continue to test to find the source of this error.
Regards,
Aitor
from biojs-vis-blasterjs.
Thanks for the answer, I forgot to mention that we're using node version 7.1.0, npm version 3.10.9 and browserify version 13.1.1 on ubuntu 16.04
from biojs-vis-blasterjs.
Hi Adrien, could you send to [email protected] the build/blasterjs.js file that was generated erroneously with the "npm install" command?
from biojs-vis-blasterjs.
Ok it looks like the problem doesn't come from the file itself. After npm install
, the script works fine with your example, but it throw errors in my webapp ( the same code works fine with the javascript file generated with the --s option). I'm also using JQuery 1.8.2 and spin.js ( http://spin.js.org/ ) on this page, could it be a kind of scope conflict?
from biojs-vis-blasterjs.
No, at first there is no conflict with those two scripts. What I've checked is that with the script generated manually with Browserify this line "var blasterjs = require (" biojs-vis-blasterjs ")" is not required.
If the script generated with the command "npm install" was generated correctly, or you lack that line where you define blasterjs (var blasterjs = require (" biojs-vis-blasterjs ");), or we have to continue looking for the root of that error.
from biojs-vis-blasterjs.
Related Issues (12)
- allow server-side inputs HOT 4
- License: MIT or GPL-3?
- Blaster JS for miRNA alignmet
- Upload BLAST output via String dont recognize alignments HOT 7
- Use BlasterJS in R (shiny app) or Python
- alignment table onclick callback HOT 2
- Blast score parsing error HOT 1
- Feature request - Draw bounds of individual alignments
- shifted alignment line
- specify file path without input file html tag HOT 1
- Supporting additional outfmt and columns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biojs-vis-blasterjs.