This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$filepath="" | |
$compile="compiler.jar" | |
$jsfiles = ls $filepath -Recurse -Include *.js -Exclude *.min.js | |
Foreach($js in $jsfiles){$i=$js.FullName.LastIndexOf(".js") | |
$compressjs= $js.FullName.Remove($i)+".min.js" | |
java -jar $compile --compilation_level SIMPLE_OPTIMIZATIONS --define=''tribe_debug=false'' --jscomp_off=unknownDefines --js_output_file $compressjs $js.FullName | |
} | |
ls $filepath -Recurse -Include *.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function ($) { | |
if($('.tribe-week-grid-wrapper').length){ | |
var height = 700; | |
function modify_slimscroll(){ | |
$('.tribe-week-grid-wrapper') | |
.unwrap() |