Skip to content

Instantly share code, notes, and snippets.

@jamii

jamii/Orange.jl Secret

Created November 9, 2016 15:26
Show Gist options
  • Save jamii/b0f42ef4997656ddf74809731e6457cf to your computer and use it in GitHub Desktop.
Save jamii/b0f42ef4997656ddf74809731e6457cf to your computer and use it in GitHub Desktop.
module Orange
using Escher
function main(window)
fillcolor("orange", size(10em, 10em, empty))
end
end
module Server
using Escher
include(Pkg.dir("Escher", "src", "cli", "serve.jl"))
function serve2()
@async escher_serve()
@async run(`xdg-open http://localhost:5555/examples/Orange.jl`)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment