vendor/ember-leaflet-cartodb/cartodb_noleaflet.js
function(position, timeout, container) {
    var self = this;
    setTimeout(function() {
      if (!self.isWadusAdded(container, 'cartodb-logo')) {
        var cartodb_link = document.createElement("div");
        var is_retina = self.isRetinaBrowser();
        cartodb_link.setAttribute('class','cartodb-logo');
        cartodb_link.setAttribute('style',"position:absolute; bottom:0; left:0; display:block; border:none; z-index:1000000;");
        var protocol = location.protocol.indexOf('https') === -1 ? 'http': 'https';
        var link = cdb.config.get('cartodb_logo_link');
        cartodb_link.innerHTML = "<a href='" + link + "' target='_blank'><img width='71' height='29' src='" + protocol + "://cartodb.s3.amazonaws.com/static/new_logo" + (is_retina ? '@2x' : '') + ".png' style='position:absolute; bottom:" + 
          ( position.bottom || 0 ) + "px; left:" + ( position.left || 0 ) + "px; display:block; width:71px!important; height:29px!important; border:none; outline:none;' alt='CARTO' title='CARTO' />";
        container.appendChild(cartodb_link);
      }
    },( timeout || 0 ));
  }
function(position, timeout, container) {
    var self = this;
    setTimeout(function() {
      if (!self.isWadusAdded(container, 'cartodb-logo')) {
        var cartodb_link = document.createElement("div");
        var is_retina = self.isRetinaBrowser();
        cartodb_link.setAttribute('class','cartodb-logo');
        cartodb_link.setAttribute('style',"position:absolute; bottom:0; left:0; display:block; border:none; z-index:1000000;");
        var protocol = location.protocol.indexOf('https') === -1 ? 'http': 'https';
        var link = cdb.config.get('cartodb_logo_link');
        cartodb_link.innerHTML = "<a href='" + link + "' target='_blank'><img width='71' height='29' src='" + protocol + "://cartodb.s3.amazonaws.com/static/new_logo" + (is_retina ? '@2x' : '') + ".png' style='position:absolute; bottom:" + 
          ( position.bottom || 0 ) + "px; left:" + ( position.left || 0 ) + "px; display:block; width:71px!important; height:29px!important; border:none; outline:none;' alt='CARTO' title='CARTO' />";
        container.appendChild(cartodb_link);
      }
    },( timeout || 0 ));
  }
function ( position , timeout , container ) { var self = this ; setTimeout ( function ( ) { if ( ! self . isWadusAdded ( container , 'cartodb-logo' ) ) { var cartodb_link = document . createElement ( "div" ) ; var is_retina = self . isRetinaBrowser ( ) ; cartodb_link . setAttribute ( 'class' , 'cartodb-logo' ) ; cartodb_link . setAttribute ( 'style' , "position:absolute; bottom:0; left:0; display:block; border:none; z-index:1000000;" ) ; var protocol = location . protocol . indexOf ( 'https' ) === - 1 ? 'http' : 'https' ; var link = cdb . config . get ( 'cartodb_logo_link' ) ; cartodb_link . innerHTML = "<a href='" + link + "' target='_blank'><img width='71' height='29' src='" + protocol + "://cartodb.s3.amazonaws.com/static/new_logo" + ( is_retina ? '@2x' : '' ) + ".png' style='position:absolute; bottom:" + ( position . bottom || 0 ) + "px; left:" + ( position . left || 0 ) + "px; display:block; width:71px!important; height:29px!important; border:none; outline:none;' alt='CARTO' title='CARTO' />" ; container . appendChild ( cartodb_link ) ; } } , ( timeout || 0 ) ) ; }
Add Cartodb logo
It needs a position, timeout if it is needed and the container where to add it
Add Cartodb logo It needs a position timeout if it is needed and the container where to add it