unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Condition to link to javascript code?
@ 2016-12-15  3:01 Bastien
  2016-12-15  3:41 ` Clément Pit--Claudel
  2016-12-17 15:47 ` Richard Stallman
  0 siblings, 2 replies; 31+ messages in thread
From: Bastien @ 2016-12-15  3:01 UTC (permalink / raw)
  To: emacs-devel

Hi all,

what are the conditions to link to a Javascript library within Emacs
core code?

https://github.com/viebel/klipse is a Javascript library, published
under GPLv3, that allows code evaluation in HTML pages.

We would like to let the org-mode HTML exporter use Klipse so that
HTML exports of code blocks make them executable in the HTML output.

I see two potential problems:

1. librejs could complain about Klipse not being safe.

2. We need to use these links, which point to Google servers:

  <script src="https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js"></script>
  <link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css">

(2) is easy (but not practical) to circumvent, as we can host the
files anywhere.

(1) seems more problematic.

Any advice on how to deal with those issues?

Thanks!

-- 
 Bastien




^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2016-12-25 20:43 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15  3:01 Condition to link to javascript code? Bastien
2016-12-15  3:41 ` Clément Pit--Claudel
2016-12-15 12:12   ` Bastien
2016-12-17 15:47 ` Richard Stallman
2016-12-18 17:47   ` Bastien Guerry
2016-12-19  7:20     ` Elias Mårtenson
2016-12-19  8:06       ` Bastien Guerry
2016-12-19  8:46         ` Elias Mårtenson
2016-12-19 16:32           ` Bastien Guerry
2016-12-19 16:52             ` Clément Pit--Claudel
2016-12-20 18:15             ` Richard Stallman
2016-12-20 19:10               ` Davis Herring
2016-12-21 17:14                 ` Richard Stallman
2016-12-21 11:28               ` Rasmus
2016-12-21 17:18                 ` Richard Stallman
2016-12-22 10:24                   ` Rasmus
2016-12-22 19:56                     ` Richard Stallman
2016-12-23 13:40                       ` Achim Gratz
2016-12-23 16:18                         ` Richard Stallman
2016-12-24 11:41                           ` Achim Gratz
2016-12-24 18:55                             ` Richard Stallman
2016-12-25 10:04                               ` Achim Gratz
2016-12-25 20:43                                 ` Richard Stallman
2016-12-22  3:13               ` Christopher Allan Webber
2016-12-22 19:54                 ` Richard Stallman
2016-12-23 13:33                   ` Achim Gratz
2016-12-23 16:18                     ` Richard Stallman
2016-12-19 13:44         ` Stefan Monnier
2016-12-19 13:07     ` Richard Stallman
2016-12-19 17:01       ` Bastien Guerry
2016-12-20 18:16         ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).