From 11f6dc9d851f0998a9da3789f52344ae23818cbc Mon Sep 17 00:00:00 2001 From: Shaik Arifa Date: Thu, 8 Jan 2026 14:51:18 +0530 Subject: [PATCH] Fix asset manifest issues in application.js --- app/assets/javascripts/application.js | 30 +++++---------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index fd0a477..282532b 100755 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -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
 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 
 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, ''')
         .replace(rQuot, '"') :
       str;
-  }
+}
 
 $(document).ready(function(){
-	rubyCodeFormat()
+    rubyCodeFormat();
 });