Skip to content

Commit ab65af0

Browse files
committed
Removed unused AceEditor assets from enqueue
1 parent 7477cd2 commit ab65af0

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/Settings.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,6 @@ public static function init() {
5959
Plugin::VERSION
6060
);
6161

62-
\wp_register_script(
63-
'AceEditor',
64-
\plugin_dir_url(__FILE__)."../public/js/ace-builds/src-min-noconflict/ace.js",
65-
array('jquery'),
66-
Plugin::VERSION
67-
);
68-
69-
\wp_localize_script(
70-
'AceEditor',
71-
'AceEditorLocalized',
72-
array(
73-
'plugin_url' => \plugin_dir_url(__FILE__) . "../",
74-
)
75-
);
76-
77-
\wp_enqueue_script(
78-
"AceEditor",
79-
\plugin_dir_url(__FILE__)."../public/js/ace-builds/src-min-noconflict/ace.js",
80-
array("jquery"),
81-
Plugin::VERSION
82-
);
83-
8462
\wp_register_style(
8563
'RollbarWordpressSettings',
8664
\plugin_dir_url(__FILE__)."../public/css/RollbarWordpressSettings.css",

0 commit comments

Comments
 (0)