Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/web-app-worksheet/app.sagews
Views: 968

Example of a standard Javascript/HTML/CSS application in a worksheet.

  • Edit the files app.html, app.css and app.js, then evaluate the cell below.
%load app.html app.css sleep(0.1); salvus.javascript(open('app.js').read()) # I'll later make it so you can do '%load app.js'...
unknown message type 'obj'
unknown message type 'obj'
unknown message type 'obj'
unknown message type 'obj'