Update packages, fix lint error

This commit is contained in:
Ray Schamp 2017-04-17 11:11:06 -04:00
parent cda87fa155
commit 0610f8a6ce
2 changed files with 12 additions and 13 deletions

View file

@ -21,17 +21,16 @@
}, },
"homepage": "https://github.com/LLK/scratch-audio#readme", "homepage": "https://github.com/LLK/scratch-audio#readme",
"devDependencies": { "devDependencies": {
"babel-core": "6.22.1", "babel-core": "^6.24.1",
"babel-eslint": "7.1.1", "babel-eslint": "^7.2.2",
"babel-loader": "6.2.10", "babel-loader": "^6.4.1",
"babel-preset-es2015": "6.22.0", "babel-preset-es2015": "^6.24.1",
"eslint": "3.14.1", "eslint": "^3.19.0",
"json": "9.0.4", "json": "^9.0.6",
"minilog": "^3.0.1", "minilog": "^3.0.1",
"soundfont-player": "0.10.5", "soundfont-player": "0.10.5",
"tone": "0.9.0", "tone": "0.9.0",
"travis-after-all": "1.4.4", "travis-after-all": "^1.4.4",
"webpack": "2.2.1" "webpack": "2.4.0"
}, }
"dependencies": {}
} }

View file

@ -19,9 +19,9 @@ function InstrumentPlayer (outputNode) {
// match scratch instruments // match scratch instruments
this.instrumentNames = ['acoustic_grand_piano', 'electric_piano_1', this.instrumentNames = ['acoustic_grand_piano', 'electric_piano_1',
'drawbar_organ', 'acoustic_guitar_nylon', 'electric_guitar_clean', 'drawbar_organ', 'acoustic_guitar_nylon', 'electric_guitar_clean',
'acoustic_bass', 'pizzicato_strings', 'cello', 'trombone', 'clarinet', 'acoustic_bass', 'pizzicato_strings', 'cello', 'trombone', 'clarinet',
'tenor_sax', 'flute', 'pan_flute', 'bassoon', 'choir_aahs', 'vibraphone', 'tenor_sax', 'flute', 'pan_flute', 'bassoon', 'choir_aahs', 'vibraphone',
'music_box', 'steel_drums', 'marimba', 'lead_1_square', 'fx_4_atmosphere']; 'music_box', 'steel_drums', 'marimba', 'lead_1_square', 'fx_4_atmosphere'];
this.instruments = []; this.instruments = [];
} }