Already merged in master: https://github.com/phpmyadmin/phpmyadmin/pull/19960 Re-write of the test from4de9f0f0b1Merge of631cac096fMerge of58cee9656fbut could not find the code to implement Signed-off-by: William Desportes <williamdes@wdes.fr>
11 lines
288 B
TypeScript
11 lines
288 B
TypeScript
import $ from 'jquery';
|
|
import { AJAX } from '../modules/ajax.ts';
|
|
import highlightJson from '../modules/json-highlight.ts';
|
|
|
|
/**
|
|
* JSON syntax highlighting transformation plugin
|
|
*/
|
|
AJAX.registerOnload('transformations/json.js', function () {
|
|
highlightJson($('#page_content'));
|
|
});
|