/* * noVNC: HTML5 VNC client * Copyright (C) 2010 Joel Martin * Licensed under LGPL-3 (see LICENSE.LGPL-3) * * See README.md for usage and integration instructions. */ "use strict"; /*global $, RFB, Canvas, VNC_uri_prefix, Element, Fx */ var DefaultControls = { load: function(target) { var url, html; /* Handle state updates */ RFB.setUpdateState(DefaultControls.updateState); RFB.setClipboardReceive(DefaultControls.clipReceive); /* Populate the 'target' DOM element with default controls */ if (!target) { target = 'vnc'; } html = ""; html += '
'; html += '