![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/emscripten/src/ |
Upload File : |
/** * This file contains definitions for things that we'd really rather the closure compiler *didn't* minify. * See http://code.google.com/p/closure-compiler/wiki/FAQ#How_do_I_write_an_externs_file * See also the discussion here: https://github.com/kripken/emscripten/issues/1979 * * The closure_compiler() method in tools/shared.py refers to this file when calling closure. */ // Closure externs used by library_uuid.js /** * @param {Array} typedArray */ crypto.getRandomValues = function(typedArray) {}; /** BEGIN_NODE_INCLUDE var crypto = require('crypto'); END_NODE_INCLUDE */ /** * @type {Object.<string,*>} */ var crypto = {}; /** * @param {number} size * @param {function(Error, buffer.Buffer)} callback */ crypto.randomBytes = function(size, callback) {}; // Closure externs used by library_sockfs.js /** BEGIN_NODE_INCLUDE var ws = require('ws'); END_NODE_INCLUDE */ /** * @type {Object.<string,*>} */ var ws = {}; /** * @param {string} event * @param {function()} callback */ ws.on = function(event, callback) {}; /** * @param {Object} data * @param {Object} flags * @param {function()=} callback */ ws.send = function(data, flags, callback) {}; /** * @type {boolean} */ ws.binaryType; /** * @type {Object.<string,*>} */ var wss = ws.Server; /** * @param {string} event * @param {function()} callback */ wss.on = function(event, callback) {}; /** * @param {function()} callback */ wss.broadcast = function(callback) {}; /** * @type {Object.<string,*>} */ wss._socket; /** * @type {string} */ wss.url; /** * @type {string} */ wss._socket.remoteAddress; /** * @type {number} */ wss._socket.remotePort; /** * @type {Object.<string,*>} */ var flags = {}; /** * @type {boolean} */ flags.binary; /** * @fileoverview Definitions for W3C's Gamepad specification. * @see http://www.w3.org/TR/gamepad/ * @externs */ /** * @typedef {{id: string, index: number, timestamp: number, axes: Array.<number>, buttons: Array.<number>}} */ var Gamepad; /** * @type {Array.<number>} */ Gamepad.buttons; /** * @type {Array.<number>} */ Gamepad.axes; /** * @type {number} */ Gamepad.index; /** * @type {string} */ Gamepad.id; /** * @type {number} */ Gamepad.timestamp; /** * @return {Array.<Gamepad>} */ navigator.getGamepads = function() {}; /** * @return {Array.<Gamepad>} */ navigator.webkitGetGamepads = function() {}; /** * @return {Array.<Gamepad>} */ navigator.webkitGamepads = function() {}; /** * @return {Array.<Gamepad>} */ navigator.mozGamepads = function() {}; /** * @return {Array.<Gamepad>} */ navigator.gamepads = function() {};