map.getDiv().style.display = "none";
}
},
- _cleanup: function( options ) {
+ _teardown: function( options ) {
// the map must be manually removed
document.getElementById( options.target ).removeChild( newdiv );
}
// Capture the position of the track being removed.
if ( o._id === trackId ) {
indexWasAt = i;
- o._natives._cleanup && o._natives._cleanup.call( obj, o );
+ o._natives._teardown && o._natives._teardown.call( obj, o );
}
}
});
options.exist = true;
},
- _cleanup: function( options ) {
+ _teardown: function( options ) {
ok( true, "cleanup function is called during removal" );
plus();