Skip to content

Commit

Permalink
Update Vexflow, and export non-default vars from main.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfe committed Apr 18, 2020
1 parent dba5c0d commit b94af7c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "LicenseRef-LICENSE",
"dependencies": {
"lodash": "^4.2.1",
"vexflow": "*"
"vexflow": "^3.0.7"
},
"devDependencies": {
"@babel/core": "^7.9.0",
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import Artist from './artist.coffee';
import VexTab from './vextab.coffee';
import Div from './div';

export default {
export {
Vex, Artist, VexTab, Div,
};
4 changes: 2 additions & 2 deletions tests/playground.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Load VexTab module.
import * as _ from 'lodash';
import vextab from '../src/main';
import * as vextab from '../src/main';

$(() => {
const VexTab = vextab.VexTab;
Expand All @@ -14,7 +14,7 @@ $(() => {
const renderer = new Renderer($('#boo')[0], Renderer.Backends.SVG);

// Initialize VexTab artist and parser.
const artist = new Artist(10, 10, 600, { scale: 0.8 });
const artist = new Artist(10, 10, 700, { scale: 0.8 });
const tab = new VexTab(artist);

function render() {
Expand Down

0 comments on commit b94af7c

Please sign in to comment.