repo.or.cz
/
phpmyadmin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Removing composer.lock
[phpmyadmin.git]
/
js
/
transformations
/
xml_editor.js
blob
7d2533d1cfd7f0fe2b841c98ddab5519d64d45d6
1
/* vim: set expandtab sw=4 ts=4 sts=4: */
2
/**
3
* XML editor plugin
4
*
5
* @package PhpMyAdmin
6
*/
7
AJAX.registerOnload('transformations/xml_editor.js', function () {
8
$('textarea.transform_xml_editor').each(function () {
9
CodeMirror.fromTextArea(this, {
10
lineNumbers: true,
11
indentUnit: 4,
12
mode: 'application/xml',
13
lineWrapping: true
14
});
15
});
16
});