Sha256: 32eca682041ecb2c116511a46cf0296a30bc2dee091da2f55861389c1ee6e99d

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * JSON syntax highlighting transformation plugin
 *
 * @package PhpMyAdmin
 */
AJAX.registerOnload('transformations/json_editor.js', function() {
    $.each($('textarea.transform_json_editor'), function (i, e) {
        CodeMirror.fromTextArea(e, {
            lineNumbers: true,
            matchBrackets: true,
            indentUnit: 4,
            mode: "application/json",
            lineWrapping: true
        });
    });
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simpletool-0.0.3 lib/support/phpmyadmin/phpmyadmin/js/transformations/json_editor.js
simpletool-0.0.2 lib/support/phpmyadmin/phpmyadmin/js/transformations/json_editor.js