public/dashboard/bower_components/admin-lte/plugins/datatables/extensions/TableTools/js/dataTables.tableTools.js
function ( nButton, oConfig )
	{
		var that = this;
		var flash = new ZeroClipboard_TableTools.Client();

		if ( oConfig.fnInit !== null )
		{
			oConfig.fnInit.call( this, nButton, oConfig );
		}

		flash.setHandCursor( true );

		if ( oConfig.sAction == "flash_save" )
		{
			flash.setAction( 'save' );
			flash.setCharSet( (oConfig.sCharSet=="utf16le") ? 'UTF16LE' : 'UTF8' );
			flash.setBomInc( oConfig.bBomInc );
			flash.setFileName( oConfig.sFileName.replace('*', this.fnGetTitle(oConfig)) );
		}
		else if ( oConfig.sAction == "flash_pdf" )
		{
			flash.setAction( 'pdf' );
			flash.setFileName( oConfig.sFileName.replace('*', this.fnGetTitle(oConfig)) );
		}
		else
		{
			flash.setAction( 'copy' );
		}

		flash.addEventListener('mouseOver', function(client) {
			if ( oConfig.fnMouseover !== null )
			{
				oConfig.fnMouseover.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('mouseOut', function(client) {
			if ( oConfig.fnMouseout !== null )
			{
				oConfig.fnMouseout.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('mouseDown', function(client) {
			if ( oConfig.fnClick !== null )
			{
				oConfig.fnClick.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('complete', function (client, text) {
			if ( oConfig.fnComplete !== null )
			{
				oConfig.fnComplete.call( that, nButton, oConfig, flash, text );
			}
			that._fnCollectionHide( nButton, oConfig );
		} );

		if ( oConfig.fnSelect !== null )
		{
			TableTools._fnEventListen( this, 'select', function (n) {
				oConfig.fnSelect.call( that, nButton, oConfig, n );
			} );
		}

		this._fnFlashGlue( flash, nButton, oConfig.sToolTip );
	}
function ( nButton, oConfig )
	{
		var that = this;
		var flash = new ZeroClipboard_TableTools.Client();

		if ( oConfig.fnInit !== null )
		{
			oConfig.fnInit.call( this, nButton, oConfig );
		}

		flash.setHandCursor( true );

		if ( oConfig.sAction == "flash_save" )
		{
			flash.setAction( 'save' );
			flash.setCharSet( (oConfig.sCharSet=="utf16le") ? 'UTF16LE' : 'UTF8' );
			flash.setBomInc( oConfig.bBomInc );
			flash.setFileName( oConfig.sFileName.replace('*', this.fnGetTitle(oConfig)) );
		}
		else if ( oConfig.sAction == "flash_pdf" )
		{
			flash.setAction( 'pdf' );
			flash.setFileName( oConfig.sFileName.replace('*', this.fnGetTitle(oConfig)) );
		}
		else
		{
			flash.setAction( 'copy' );
		}

		flash.addEventListener('mouseOver', function(client) {
			if ( oConfig.fnMouseover !== null )
			{
				oConfig.fnMouseover.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('mouseOut', function(client) {
			if ( oConfig.fnMouseout !== null )
			{
				oConfig.fnMouseout.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('mouseDown', function(client) {
			if ( oConfig.fnClick !== null )
			{
				oConfig.fnClick.call( that, nButton, oConfig, flash );
			}
		} );

		flash.addEventListener('complete', function (client, text) {
			if ( oConfig.fnComplete !== null )
			{
				oConfig.fnComplete.call( that, nButton, oConfig, flash, text );
			}
			that._fnCollectionHide( nButton, oConfig );
		} );

		if ( oConfig.fnSelect !== null )
		{
			TableTools._fnEventListen( this, 'select', function (n) {
				oConfig.fnSelect.call( that, nButton, oConfig, n );
			} );
		}

		this._fnFlashGlue( flash, nButton, oConfig.sToolTip );
	}
function ( nButton , oConfig ) { var that = this ; var flash = new ZeroClipboard_TableTools . Client ( ) ; if ( oConfig . fnInit !== null ) { oConfig . fnInit . call ( this , nButton , oConfig ) ; } flash . setHandCursor ( true ) ; if ( oConfig . sAction == "flash_save" ) { flash . setAction ( 'save' ) ; flash . setCharSet ( ( oConfig . sCharSet == "utf16le" ) ? 'UTF16LE' : 'UTF8' ) ; flash . setBomInc ( oConfig . bBomInc ) ; flash . setFileName ( oConfig . sFileName . replace ( '*' , this . fnGetTitle ( oConfig ) ) ) ; } else if ( oConfig . sAction == "flash_pdf" ) { flash . setAction ( 'pdf' ) ; flash . setFileName ( oConfig . sFileName . replace ( '*' , this . fnGetTitle ( oConfig ) ) ) ; } else { flash . setAction ( 'copy' ) ; } flash . addEventListener ( 'mouseOver' , function ( client ) { if ( oConfig . fnMouseover !== null ) { oConfig . fnMouseover . call ( that , nButton , oConfig , flash ) ; } } ) ; flash . addEventListener ( 'mouseOut' , function ( client ) { if ( oConfig . fnMouseout !== null ) { oConfig . fnMouseout . call ( that , nButton , oConfig , flash ) ; } } ) ; flash . addEventListener ( 'mouseDown' , function ( client ) { if ( oConfig . fnClick !== null ) { oConfig . fnClick . call ( that , nButton , oConfig , flash ) ; } } ) ; flash . addEventListener ( 'complete' , function ( client , text ) { if ( oConfig . fnComplete !== null ) { oConfig . fnComplete . call ( that , nButton , oConfig , flash , text ) ; } that . _fnCollectionHide ( nButton , oConfig ) ; } ) ; if ( oConfig . fnSelect !== null ) { TableTools . _fnEventListen ( this , 'select' , function ( n ) { oConfig . fnSelect . call ( that , nButton , oConfig , n ) ; } ) ; } this . _fnFlashGlue ( flash , nButton , oConfig . sToolTip ) ; }
Configure a flash based button for interaction events
@method  _fnFlashConfig
@param   {Node} nButton Button element which is being considered
@param   {o} oConfig Button configuration object
@returns void
@private
Configure a flash based button for interaction events