File structure
Log into webDAV and look at the folder /s/js/
.
In there you’ll see a number of javascript files which drive your onCourse website. Some are third party vendor supplied files and others are default parts of onCourse itself. site.js is the starting point and it has a list of all the other files which are included. Note that the order of including files can sometimes be important. Let’s look at base.js now:
//= minify off
//= require base.js
//= require extra.js
This is telling you that minification is disabled and that the javascript files base.js and extra.js are included. This is a different syntax to SCSS so don’t get them confused. The combined output file is called all.js and the files which are merged don’t need to start with an underscore.
Updated 5 months ago