Changeset 34378

Show
Ignore:
Timestamp:
14.09.2020 15:52:34 (2 weeks ago)
Author:
davidb
Message:

No longer need the JSON file copied into the web/ext/audio area

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/src/CASCADE-MAKE/WAVESURFER.sh

    r34370 r34378  
    7070    /bin/cp -r "$package$version/dist" "../../../web/ext/audio/ws" 
    7171 
     72# Turns out the JSON used by the Spectrogram plugin for WaveSurferJS wants 
     73# the data directly (e.g. inline).  Can be set up with a URL call  
     74#   WaveSurfer.util.fetchFile() ... 
     75# but more effort, so have opted to embed JSON directly into wavesurfer-player.js  
     76#    echo "Copying  colormap/hot-colormap.json to ../../../web/ext/audio/ws/." 
     77#    /bin/cp -r colormap/hot-colormap.json ../../../web/ext/audio/ws/. 
     78 
    7279    echo "Copying  wavesurfer-player to ../../../web/ext/audio" 
    7380    /bin/cp -r wavesurfer-player/css wavesurfer-player/wavesurfer-player.js ../../../web/ext/audio/. 
     81 
    7482 
    7583fi