Skip to content

Commit

Permalink
readstring is deprecated in Julia 1.0 (#43)
Browse files Browse the repository at this point in the history
`readstring` seems to be deprecated and moved to `read(io, String)` in Julia 1.0, according to the following issue.

JuliaLang/julia#22793
  • Loading branch information
dskkato authored and ssfrr committed Aug 18, 2018
1 parent e4ef76f commit 5005e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WAVDisplay.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
function embed_javascript()
js_path = joinpath(dirname(dirname(@__FILE__)), "deps", "wavesurfer.min.js")
js_text = open(js_path) do io
readstring(io)
read(io, String)
end
# the javascript file contains the code to add itself to the require module
# cache under the name 'wavesurfer'
Expand Down

0 comments on commit 5005e1f

Please sign in to comment.