mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-04-28 16:31:02 +00:00

Clarify in LICENSE.txt that the noVNC core library is the part that is LGPLv3 licensed. The HTML, CSS, images and fonts are separate from the core library and can be modified and distributed with the noVNC core but under their own license conditions. HTML and CSS: 2-Clause BSD Fonts: SIL OFL 1.1 Images: CC BY SA 3.0 In other words, you can modify the layout and appearance of of noVNC to integrate with an existing or new web site or application without having to publish the source for those modifications under the LGPLv3. However, use of and modification of the noVNC core library (i.e. the core Javascript that makes up noVNC) must still be according to the LGPLv3. Chris Gordon was the other contributor to the HTML, CSS, and images included with noVNC and gave permission for this license clarification on June 23, 2012.
44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
/*
|
|
* noVNC: HTML5 VNC client
|
|
* Copyright (C) 2012 Joel Martin
|
|
* Licensed under LGPL-3 (see LICENSE.txt)
|
|
*
|
|
* See README.md for usage and integration instructions.
|
|
*/
|
|
|
|
/*jslint evil: true */
|
|
/*global window, document, INCLUDE_URI */
|
|
|
|
/*
|
|
* Load supporting scripts
|
|
*/
|
|
function get_INCLUDE_URI() {
|
|
return (typeof INCLUDE_URI !== "undefined") ? INCLUDE_URI : "include/";
|
|
}
|
|
|
|
(function () {
|
|
"use strict";
|
|
|
|
var extra = "", start, end;
|
|
|
|
start = "<script src='" + get_INCLUDE_URI();
|
|
end = "'><\/script>";
|
|
|
|
// Uncomment to activate firebug lite
|
|
//extra += "<script src='http://getfirebug.com/releases/lite/1.2/" +
|
|
// "firebug-lite-compressed.js'><\/script>";
|
|
|
|
extra += start + "util.js" + end;
|
|
extra += start + "webutil.js" + end;
|
|
extra += start + "base64.js" + end;
|
|
extra += start + "websock.js" + end;
|
|
extra += start + "des.js" + end;
|
|
extra += start + "input.js" + end;
|
|
extra += start + "display.js" + end;
|
|
extra += start + "rfb.js" + end;
|
|
extra += start + "jsunzip.js" + end;
|
|
|
|
document.write(extra);
|
|
}());
|
|
|