Comments (5)
- When creating a basic package, I didn't get a default src folder inside my package directory. Is it same as lib folder where <module-name.js> resides?
Yes - see biojs/biojs#100
- I have a directory called unit inside test, so the index.js file should be inside test or unit? Will the location of tests and the file name containing tests matter?
Nope it is just because there can be unit test and phantom unit tests (=need a browser).
There shouldn't be the need for a index.js
in the test folder (as mocha uses globa *.js
), however for phantomjs tests we use a index.js, as they are moderately slow and one might to select which tests get executed.
- It would be good to mentions the location inside the package directory where npm test command should be run after the steps in the tutorial.
Why? NPM commands should be run in the same folder and if you are in a subfolder it will default back to the next, upper folder with a package.json
. However I am happy to accept any pull request.
- When I created package and followed the tutorial as it is along with the code: I get error as below:
- Never run an npm command (execpt for global installation with sudo)
- which version of slush did you use?
- Did you modify anything?
- the error message states that inside your unit test a function
test
is called - however this functiontest
is not defined
from edu.
And also, regarding the naming conventions, this should also be linked to issue #20 ?
Which naming conventions? Are you referring to src
vs. lib
. That is really not important - it should just be consistent over the tutorials ...
from edu.
By naming conventions
, I mean .js
files, currently the file names are <biojs-module-name>.js
instead of index.js
.
Slush version: slush 1.0.1
What's the version that's recommended?
from edu.
The version is slush is not really important - however the version of slush-biojs
is.
AFAIK since version 0.5 of slush-biojs the created dummy file is named lib/index.js
.
from edu.
I close this - please reopen if this is still an open issue ;-)
from edu.
Related Issues (20)
- use nvm in tutorials instead of requiring `sudo` HOT 3
- Remove the demos and transfer them to snippets HOT 2
- Getting started for the (lazy and impatient) Developer
- overview of all tools HOT 2
- Broken link on http://edu.biojs.net/series/101/22_headstart.html HOT 1
- have a consistent source folder name (src vs. lib) HOT 1
- 101 Visualization: D3 HOT 3
- BioJS-SSI Collaboration: Evaluate with Software Sustainability Institute's criteria-based software evaluation HOT 3
- edu redesign HOT 14
- No index.js file inside lib folder of newly created biojs package HOT 4
- Different levels of the BioJS tutorials
- Archive the snipspector tutorial HOT 1
- Add a visualization guide for the new introductory tutorial
- Mandatory edu guide requirements HOT 3
- Issues with advanced snipinspector d3 tutorial
- Issue with Tutorial link on Getting started page HOT 1
- Misleading url mentioned for testing the visualizing component HOT 2
- Highlight links in the navigation side bar more prominently HOT 2
- "Get involved in Biojs community" link in 'edu/series/snipspector/80_outlook.md' gives 404 error
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 edu.