[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-includes
/
js
/
codemirror
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 codemirror.min.css
15,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 codemirror.min.js
585,414 B
SET
[ EDIT ]
|
[ DEL ]
📄 csslint.js
366,769 B
SET
[ EDIT ]
|
[ DEL ]
📄 esprima.js
283,149 B
SET
[ EDIT ]
|
[ DEL ]
📄 fakejshint.js
1,002 B
SET
[ EDIT ]
|
[ DEL ]
📄 htmlhint-kses.js
984 B
SET
[ EDIT ]
|
[ DEL ]
📄 htmlhint.js
17,735 B
SET
[ EDIT ]
|
[ DEL ]
📄 jsonlint.js
16,189 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: fakejshint.js
// JSHINT has some GPL Compatability issues, so we are faking it out and using esprima for validation // Based on https://github.com/jquery/esprima/blob/gh-pages/demo/validate.js which is MIT licensed var fakeJSHINT = new function() { var syntax, errors; var that = this; this.data = []; this.convertError = function( error ){ return { line: error.lineNumber, character: error.column, reason: error.description, code: 'E' }; }; this.parse = function( code ){ try { syntax = window.esprima.parse(code, { tolerant: true, loc: true }); errors = syntax.errors; if ( errors.length > 0 ) { for ( var i = 0; i < errors.length; i++) { var error = errors[i]; that.data.push( that.convertError( error ) ); } } else { that.data = []; } } catch (e) { that.data.push( that.convertError( e ) ); } }; }; window.JSHINT = function( text ){ fakeJSHINT.parse( text ); }; window.JSHINT.data = function(){ return { errors: fakeJSHINT.data }; };