Fix asset manifest issues in application.js
This commit is contained in:
@@ -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, ''')
|
||||
.replace(rQuot, '"') :
|
||||
str;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
rubyCodeFormat()
|
||||
rubyCodeFormat();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user