uawdijnntqw1x1x1
IP : 216.73.217.77
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
learnoid.codeskitter.site
/
node_modules
/
@svgdotjs
/
svg.js
/
src
/
types
/
List.js
/
/
import { extend } from '../utils/adopter.js' // import { subClassArray } from './ArrayPolyfill.js' class List extends Array { constructor(arr = [], ...args) { super(arr, ...args) if (typeof arr === 'number') return this this.length = 0 this.push(...arr) } } /* = subClassArray('List', Array, function (arr = []) { // This catches the case, that native map tries to create an array with new Array(1) if (typeof arr === 'number') return this this.length = 0 this.push(...arr) }) */ export default List extend([List], { each(fnOrMethodName, ...args) { if (typeof fnOrMethodName === 'function') { return this.map((el, i, arr) => { return fnOrMethodName.call(el, el, i, arr) }) } else { return this.map((el) => { return el[fnOrMethodName](...args) }) } }, toArray() { return Array.prototype.concat.apply([], this) } }) const reserved = ['toArray', 'constructor', 'each'] List.extend = function (methods) { methods = methods.reduce((obj, name) => { // Don't overwrite own methods if (reserved.includes(name)) return obj // Don't add private methods if (name[0] === '_') return obj // Allow access to original Array methods through a prefix if (name in Array.prototype) { obj['$' + name] = Array.prototype[name] } // Relay every call to each() obj[name] = function (...attrs) { return this.each(name, ...attrs) } return obj }, {}) extend([List], methods) }
/home/users/unlimited/www/learnoid.codeskitter.site/node_modules/@svgdotjs/svg.js/src/types/List.js