laravelEcomm/public/Dashboard/js/ace.js

7 lines
238 B
JavaScript
Raw Normal View History

2024-07-12 07:06:02 +00:00
(function($) {
'use strict';
var editor = ace.edit("aceExample");
editor.setTheme("ace/theme/chaos");
editor.getSession().setMode("ace/mode/javascript");
document.getElementById('aceExample').style.fontSize = '1rem';
})(jQuery);