From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Condition to link to javascript code? Date: Thu, 15 Dec 2016 04:01:17 +0100 Message-ID: <87eg19uc8y.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481770934 4375 195.159.176.226 (15 Dec 2016 03:02:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 03:02:14 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 04:02:10 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHMJ7-0008A4-NM for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2016 04:02:09 +0100 Original-Received: from localhost ([::1]:51892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMJ7-0000yo-68 for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 22:02:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMIX-0000sd-HV for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHMIU-0006PO-GN for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:33 -0500 Original-Received: from [195.159.176.226] (port=40653 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHMIU-0006Or-AE for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:30 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cHMIL-00012W-4Y for emacs-devel@gnu.org; Thu, 15 Dec 2016 04:01:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:RO4hfY/2xe16HPNXbK3Xl+GFFWE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210468 Archived-At: 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: (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