src/js/tooltipster.js
function(pluginName) {
		
		var self = this;
		
		// if the plugin has been activated on this instance
		if (self[pluginName]) {
			
			var plugin = $.tooltipster._plugin(pluginName);
			
			// if there is a constructor for instances
			if (plugin.instance) {
				
				// unbridge
				$.each(plugin.instance, function(methodName, fn) {
					
					// if the method exists (privates methods do not) and comes indeed from
					// this plugin (may be missing or come from a conflicting plugin).
					if (	self[methodName]
						&&	self[methodName].bridged === self[pluginName]
					) {
						delete self[methodName];
					}
				});
			}
			
			// destroy the plugin
			if (self[pluginName].__destroy) {
				self[pluginName].__destroy();
			}
			
			// remove the reference to the plugin instance
			delete self[pluginName];
		}
		
		return self;
	}
function(pluginName) {
		
		var self = this;
		
		// if the plugin has been activated on this instance
		if (self[pluginName]) {
			
			var plugin = $.tooltipster._plugin(pluginName);
			
			// if there is a constructor for instances
			if (plugin.instance) {
				
				// unbridge
				$.each(plugin.instance, function(methodName, fn) {
					
					// if the method exists (privates methods do not) and comes indeed from
					// this plugin (may be missing or come from a conflicting plugin).
					if (	self[methodName]
						&&	self[methodName].bridged === self[pluginName]
					) {
						delete self[methodName];
					}
				});
			}
			
			// destroy the plugin
			if (self[pluginName].__destroy) {
				self[pluginName].__destroy();
			}
			
			// remove the reference to the plugin instance
			delete self[pluginName];
		}
		
		return self;
	}
function ( pluginName ) { var self = this ; // if the plugin has been activated on this instance if ( self [ pluginName ] ) { var plugin = $ . tooltipster . _plugin ( pluginName ) ; // if there is a constructor for instances if ( plugin . instance ) { // unbridge $ . each ( plugin . instance , function ( methodName , fn ) { // if the method exists (privates methods do not) and comes indeed from // this plugin (may be missing or come from a conflicting plugin). if ( self [ methodName ] && self [ methodName ] . bridged === self [ pluginName ] ) { delete self [ methodName ] ; } } ) ; } // destroy the plugin if ( self [ pluginName ] . __destroy ) { self [ pluginName ] . __destroy ( ) ; } // remove the reference to the plugin instance delete self [ pluginName ] ; } return self ; }
Deactivate a plugin on this instance

@returns {self}
@protected
Deactivate a plugin on this instance