Skip to content

Commit

Permalink
Merge pull request #71 from davidanthoff/update-vega-deps
Browse files Browse the repository at this point in the history
Update deps to latest versions
  • Loading branch information
davidanthoff committed May 18, 2018
2 parents b2ab4c3 + 5894bbc commit 65374d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
using BinDeps
@BinDeps.setup

uschema = "https://vega.github.io/schema/vega-lite/v2.4.0.json"
uschema = "https://vega.github.io/schema/vega-lite/v2.4.3.json"
uvega = "https://cdnjs.cloudflare.com/ajax/libs/vega/3.3.1/vega.min.js"
uvegalite = "https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.4.0/vega-lite.min.js"
uembed = "https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.7.1/vega-embed.min.js"
uvegalite = "https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.4.3/vega-lite.min.js"
uembed = "https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.9.0/vega-embed.min.js"

destdir = joinpath(@__DIR__, "lib")

Expand Down
2 changes: 1 addition & 1 deletion deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": {
"rw": "^1.3.3",
"vega": "^3.3.1",
"vega-lite": "^2.4.0",
"vega-lite": "^2.4.3",
"xmlhttprequest": "^1.8.0"
}
}
4 changes: 2 additions & 2 deletions src/render.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ function writehtml_partial(io::IO, spec::String; title="VegaLite plot")
requirejs.config({
paths: {
vg: "https://cdnjs.cloudflare.com/ajax/libs/vega/3.3.1/vega.min.js?noext",
vl: "https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.4.0/vega-lite.min.js?noext",
vg_embed: "https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.7.1/vega-embed.min.js?noext"
vl: "https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.4.3/vega-lite.min.js?noext",
vg_embed: "https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.9.0/vega-embed.min.js?noext"
},
shim: {
vg_embed: {deps: ["vg.global", "vl.global"]},
Expand Down

0 comments on commit 65374d7

Please sign in to comment.