vendor/ember-leaflet-cartodb/cartodb_noleaflet.js
function(layers) {
    var mods = Layers.modulesForLayers(layers);
    return _.every(_.map(mods, function(m) { return cartodb[m] !== undefined; }));
  }
function(layers) {
    var mods = Layers.modulesForLayers(layers);
    return _.every(_.map(mods, function(m) { return cartodb[m] !== undefined; }));
  }
function ( layers ) { var mods = Layers . modulesForLayers ( layers ) ; return _ . every ( _ . map ( mods , function ( m ) { return cartodb [ m ] !== undefined ; } ) ) ; }
check if all the modules needed to create layers are loaded
check if all the modules needed to create layers are loaded