Ask Your Question
0

Embed 3rd party javascript library in worksheet

asked 2015-05-27 08:37:24 -0500

bsdz gravatar image

updated 2015-05-27 09:08:24 -0500

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 04:52:45 -0500

AndreWin gravatar image

updated 2015-11-13 04:53:30 -0500

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 08:37:24 -0500

Seen: 664 times

Last updated: Nov 13 '15