src/js/tooltipster.js
function(selector) {
		
		var instances = [],
			sel = selector || '.tooltipstered';
		
		$(sel).each(function() {
			
			var $this = $(this),
				ns = $this.data('tooltipster-ns');
			
			if (ns) {
				
				$.each(ns, function(i, namespace) {
					instances.push($this.data(namespace));
				});
			}
		});
		
		return instances;
	}
function(selector) {
		
		var instances = [],
			sel = selector || '.tooltipstered';
		
		$(sel).each(function() {
			
			var $this = $(this),
				ns = $this.data('tooltipster-ns');
			
			if (ns) {
				
				$.each(ns, function(i, namespace) {
					instances.push($this.data(namespace));
				});
			}
		});
		
		return instances;
	}
function ( selector ) { var instances = [ ] , sel = selector || '.tooltipstered' ; $ ( sel ) . each ( function ( ) { var $this = $ ( this ) , ns = $this . data ( 'tooltipster-ns' ) ; if ( ns ) { $ . each ( ns , function ( i , namespace ) { instances . push ( $this . data ( namespace ) ) ; } ) ; } } ) ; return instances ; }
Returns instances of all tooltips in the page or an a given element

@param {string|HTML object collection} selector optional Use this
parameter to restrict the set of objects that will be inspected
for the retrieval of instances. By default, all instances in the
page are returned.
@return {array} An array of instance objects
@public
Returns instances of all tooltips in the page or an a given element