Ask Your Question
0

Embed 3rd party javascript library in worksheet

asked 2015-05-27 15:37:24 +0200

bsdz gravatar image

updated 2015-05-27 16:08:24 +0200

kcrisman gravatar image

Hi

How might I embed a 3rd party javascript library in a Sage worksheet? I've tried something along the lines of:

%html
<script src="./path/to/local/javascript_file.js"></script>
...

where "./path/to/local/javascript_file.js" is a path in my project folder. However, this doesn't appear to work.

Any suggestions? Thanks in advance, Blair

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-13 11:52:45 +0200

AndreWin gravatar image

updated 2015-11-13 11:53:30 +0200

Please create new cell above and use:

 load("./path/to/local/javascript_ifle.js")

Best regards, Andrey.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-27 15:37:24 +0200

Seen: 906 times

Last updated: Nov 13 '15