Skip to content

Commit

Permalink
Set up and Test the SW JavaScript library following installation step…
Browse files Browse the repository at this point in the history
…s in the Readme (#290)

* Edit the multiplication assignment operator in SW.API.Core.js

* Change version in package.js and run nom install

* Run npm run build
  • Loading branch information
Georjane authored Jan 14, 2022
1 parent bf7e96e commit 2d70797
Show file tree
Hide file tree
Showing 4 changed files with 6,651 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dist/spectral-workbench.js
Original file line number Diff line number Diff line change
Expand Up @@ -3426,7 +3426,7 @@ SpectralWorkbench.API.Core = {
spectrum.average.forEach(function(line, i) {

// subtract the reference
line.y = line.y * getRefIntensity(line.x);
line.y *= getRefIntensity(line.x);

});

Expand Down
Loading

0 comments on commit 2d70797

Please sign in to comment.