summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/wp/code-editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/_enqueues/wp/code-editor.js')
-rw-r--r--src/js/_enqueues/wp/code-editor.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/_enqueues/wp/code-editor.js b/src/js/_enqueues/wp/code-editor.js
index 15906ff55b..dd0feca956 100644
--- a/src/js/_enqueues/wp/code-editor.js
+++ b/src/js/_enqueues/wp/code-editor.js
@@ -79,7 +79,11 @@ if ( 'undefined' === typeof window.wp.codeEditor ) {
options = $.extend( {}, options );
}
- // Note that rules must be sent in the "deprecated" lint.options property to prevent linter from complaining about unrecognized options. See <https://github.com/codemirror/CodeMirror/pull/4944>.
+ /*
+ * Note that rules must be sent in the "deprecated" lint.options property
+ * to prevent linter from complaining about unrecognized options.
+ * See <https://github.com/codemirror/CodeMirror/pull/4944>.
+ */
if ( ! options.options ) {
options.options = {};
}