Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
codemirror /
src /
edit /
Delete
Unzip
Name
Size
Permission
Date
Action
CodeMirror.js
8.42
KB
-rw-r--r--
2022-10-24 16:35
commands.js
7.33
KB
-rw-r--r--
2022-10-24 16:35
deleteNearSelection.js
1.03
KB
-rw-r--r--
2022-10-24 16:35
drop_events.js
5.01
KB
-rw-r--r--
2022-10-24 16:35
fromTextArea.js
1.94
KB
-rw-r--r--
2022-10-24 16:35
global_events.js
1.41
KB
-rw-r--r--
2022-10-24 16:35
key_events.js
5.38
KB
-rw-r--r--
2022-10-24 16:35
legacy.js
2.52
KB
-rw-r--r--
2022-10-24 16:35
main.js
2.02
KB
-rw-r--r--
2022-10-24 16:35
methods.js
21.72
KB
-rw-r--r--
2022-10-24 16:35
mouse_events.js
15.6
KB
-rw-r--r--
2022-10-24 16:35
options.js
7.06
KB
-rw-r--r--
2022-10-24 16:35
utils.js
270
B
-rw-r--r--
2022-10-24 16:35
Save
Rename
import { onBlur } from "../display/focus.js" import { on } from "../util/event.js" // These must be handled carefully, because naively registering a // handler for each editor will cause the editors to never be // garbage collected. function forEachCodeMirror(f) { if (!document.getElementsByClassName) return let byClass = document.getElementsByClassName("CodeMirror"), editors = [] for (let i = 0; i < byClass.length; i++) { let cm = byClass[i].CodeMirror if (cm) editors.push(cm) } if (editors.length) editors[0].operation(() => { for (let i = 0; i < editors.length; i++) f(editors[i]) }) } let globalsRegistered = false export function ensureGlobalHandlers() { if (globalsRegistered) return registerGlobalHandlers() globalsRegistered = true } function registerGlobalHandlers() { // When the window resizes, we need to refresh active editors. let resizeTimer on(window, "resize", () => { if (resizeTimer == null) resizeTimer = setTimeout(() => { resizeTimer = null forEachCodeMirror(onResize) }, 100) }) // When the window loses focus, we want to show the editor as blurred on(window, "blur", () => forEachCodeMirror(onBlur)) } // Called when the window resizes function onResize(cm) { let d = cm.display // Might be a text scaling operation, clear size caches. d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null d.scrollbarsClipped = false cm.setSize() }