From 0610f8a6ce254428c7bdcc97401b954499d40528 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Mon, 17 Apr 2017 11:11:06 -0400 Subject: [PATCH] Update packages, fix lint error --- package.json | 19 +++++++++---------- src/InstrumentPlayer.js | 6 +++--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index b869ab4..2f90211 100644 --- a/package.json +++ b/package.json @@ -21,17 +21,16 @@ }, "homepage": "https://github.com/LLK/scratch-audio#readme", "devDependencies": { - "babel-core": "6.22.1", - "babel-eslint": "7.1.1", - "babel-loader": "6.2.10", - "babel-preset-es2015": "6.22.0", - "eslint": "3.14.1", - "json": "9.0.4", + "babel-core": "^6.24.1", + "babel-eslint": "^7.2.2", + "babel-loader": "^6.4.1", + "babel-preset-es2015": "^6.24.1", + "eslint": "^3.19.0", + "json": "^9.0.6", "minilog": "^3.0.1", "soundfont-player": "0.10.5", "tone": "0.9.0", - "travis-after-all": "1.4.4", - "webpack": "2.2.1" - }, - "dependencies": {} + "travis-after-all": "^1.4.4", + "webpack": "2.4.0" + } } diff --git a/src/InstrumentPlayer.js b/src/InstrumentPlayer.js index 718fad5..9a989bc 100644 --- a/src/InstrumentPlayer.js +++ b/src/InstrumentPlayer.js @@ -19,9 +19,9 @@ function InstrumentPlayer (outputNode) { // match scratch instruments this.instrumentNames = ['acoustic_grand_piano', 'electric_piano_1', 'drawbar_organ', 'acoustic_guitar_nylon', 'electric_guitar_clean', - 'acoustic_bass', 'pizzicato_strings', 'cello', 'trombone', 'clarinet', - 'tenor_sax', 'flute', 'pan_flute', 'bassoon', 'choir_aahs', 'vibraphone', - 'music_box', 'steel_drums', 'marimba', 'lead_1_square', 'fx_4_atmosphere']; + 'acoustic_bass', 'pizzicato_strings', 'cello', 'trombone', 'clarinet', + 'tenor_sax', 'flute', 'pan_flute', 'bassoon', 'choir_aahs', 'vibraphone', + 'music_box', 'steel_drums', 'marimba', 'lead_1_square', 'fx_4_atmosphere']; this.instruments = []; }