/*Custom Modules */
@import "custom/sidebar/sidebar";
-//@import "custom/slideshow/slideshow";
+@import "custom/slideshow/slideshow";
@import "custom/gravity-forms/gravity-forms";
@import "custom/weather/weather";
@import "custom/nextgen/nextgen";
@import "custom/glma/glm-member-db";
//@import "custom/glma/glm-member-db-events";
-//@import "custom/blocks/glm-blocks";
+@import "custom/blocks/glm-blocks";
@import "custom/action-items/action-items";
@import "custom/svg-map/svg-map";
@import "custom/woocommerce/woocommerce";
\ No newline at end of file
String.prototype.stripSlashes = function(){
return this.replace(/\\(.)/mg, "$1");
}
-function getFolders(dir) {
- return fs.readdirSync(dir)
- .filter(function(file) {
- return fs.statSync(path.join(dir, file)).isDirectory();
- });
- }
-function sliceAtSpace(str) {
- return str.split(' ')[1];
-}
+
// Display Active and In-Active Modules
-let moduleObjs = [];
-let modStorage = {};
let modName = '';
-
function readLines(mode, state){
if(mode === 'parse'){
lineReader.on('line', function (line) {
parseModules(this, line);
});
+ // activate or deactivate the JS files for each module
+ functionsFileReader.on('line', function (line) {
+ parsePhpLibs(this, line)
+ });
+
// functionsFileReader.on('line', function (line) {
// parseModules(this, line);
// });
scanModules(true, false, false);
-let allModules = JSON.parse(localStorage.getItem("modules"))
-// activate or deactivate the JS files for each module
-const modPaths = ['dev/core/', 'dev/custom/'];
-
-functionsFileReader.on('line', function (line) {
- parsePhpLibs(this, line)
-});
-
// On Click Set Mod State
$(document).on("click", ".module-item", function(){
let _ = $(this);