app/assets/javascripts/faalis/dashboard/init.js in faalis-1.0.0.alpha0 vs app/assets/javascripts/faalis/dashboard/init.js in faalis-1.0.0.alpha1
- old
+ new
@@ -1,12 +1,11 @@
-//= require faalis/dashboard/functions
//= require faalis/dashboard/objects
// Get all the modules syncly
+console.log(DashboardURL);
$.ajax({method: 'GET', type: 'json', async: false,
url: DashboardURL + '.json'})
.success(function(data, status, headers, config){
DModules = data.modules;
-
DModules.forEach(function(module){
dashboard_dependencies.push(camelCase(module.resource));
});
})
.fail(function(data){