My project (jsish.org) requires defining a new extension .jsi that maps to the same as .js. This is so we can click on a link to example code, and have not download. For example, the link to ./fileSize.jsi on this page:
http://jsish.org/jsi/www/js-modules.wiki The only solution I could come up with was patching fossil (below). Is there no better way? Thanks, Peter --- doc.c.orig 2017-12-23 11:24:54.916316685 -0800 +++ doc.c 2017-12-10 18:21:22.933162382 -0800 @@ -150,6 +150,7 @@ { "jpeg", 4, "image/jpeg" }, { "jpg", 3, "image/jpeg" }, { "js", 2, "application/x-javascript" }, + { "jsi", 3, "application/x-javascript" }, { "kar", 3, "audio/midi" }, { "latex", 5, "application/x-latex" }, { "lha", 3, "application/octet-stream" }, _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

