vendor/ember-leaflet-cartodb/cartodb_noleaflet.js
function($el) {
    this._stopSpinner();

    var $el = this.$el.find('.loading');

    if ($el) {
      // Check if it is dark or other to change color
      var template_dark = this.model.get('template_name').search('dark') != -1;

      if (template_dark) {
        this.spin_options.color = '#FFF';
      } else {
        this.spin_options.color = 'rgba(0,0,0,0.5)';
      }

      this.spinner = new Spinner(this.spin_options).spin();
      $el.append(this.spinner.el);
    }
  }
function($el) {
    this._stopSpinner();

    var $el = this.$el.find('.loading');

    if ($el) {
      // Check if it is dark or other to change color
      var template_dark = this.model.get('template_name').search('dark') != -1;

      if (template_dark) {
        this.spin_options.color = '#FFF';
      } else {
        this.spin_options.color = 'rgba(0,0,0,0.5)';
      }

      this.spinner = new Spinner(this.spin_options).spin();
      $el.append(this.spinner.el);
    }
  }
function ( $el ) { this . _stopSpinner ( ) ; var $el = this . $el . find ( '.loading' ) ; if ( $el ) { // Check if it is dark or other to change color var template_dark = this . model . get ( 'template_name' ) . search ( 'dark' ) != - 1 ; if ( template_dark ) { this . spin_options . color = '#FFF' ; } else { this . spin_options . color = 'rgba(0,0,0,0.5)' ; } this . spinner = new Spinner ( this . spin_options ) . spin ( ) ; $el . append ( this . spinner . el ) ; } }
Start loading spinner
Start loading spinner