Fix asset manifest issues in application.js

This commit is contained in:
Shaik Arifa
2026-01-08 14:51:18 +05:30
committed by GitHub
parent 2bcc022208
commit 11f6dc9d85
+5 -25
View File
@@ -13,7 +13,6 @@
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require jquery.min.js
//= require jquery.scrollUp.js
//= require bootstrap.js
//= require bootstrap-colorpicker.js
@@ -27,30 +26,11 @@
//= require jquery.easy-pie-chart.js
//= require jquery-fileupload/basic
//= require jquery-fileupload/vendor/tmpl
//= require jsapi
//= html5.js
function rubyCodeFormat() {
$("pre.ruby").snippet("ruby",{style:"rand01",transparent:true,showNum:true});
// Finds <pre> elements with the class "js"
// and snippet highlights the JAVASCRIPT code within
// using a random style from the selection of 39
// with a transparent background
// without showing line numbers.
$("pre.javascript").snippet("javascript",{style:"rand01",transparent:true,showNum:true});
// Finds <pre> elements with the class "js"
// and snippet highlights the JAVASCRIPT code within
// using a random style from the selection of 39
// with a transparent background
// without showing line numbers.
};
$("pre.ruby").snippet("ruby",{style:"rand01",transparent:true,showNum:true});
$("pre.javascript").snippet("javascript",{style:"rand01",transparent:true,showNum:true});
}
function coerceToString(val) {
return String((val === null || val === undefined) ? '' : val);
@@ -73,8 +53,8 @@ function hoganEscape(str) {
.replace(rApos, '&#39;')
.replace(rQuot, '&quot;') :
str;
}
}
$(document).ready(function(){
rubyCodeFormat()
rubyCodeFormat();
});