function enqueue_admin_scripts( $hook ) {

		if ( $this->options_screen != $hook )
	        return;

		// Enqueue custom option panel JS
		wp_enqueue_script( 'options-custom', plugin_dir_url( dirname(__FILE__) ) . 'js/options-custom.js', array( 'jquery','wp-color-picker' ), Options_Framework::VERSION );

		// Inline scripts from options-interface.php
		add_action( 'admin_head', array( $this, 'of_admin_head' ) );
	}
function enqueue_admin_scripts( $hook ) {

		if ( $this->options_screen != $hook )
	        return;

		// Enqueue custom option panel JS
		wp_enqueue_script( 'options-custom', plugin_dir_url( dirname(__FILE__) ) . 'js/options-custom.js', array( 'jquery','wp-color-picker' ), Options_Framework::VERSION );

		// Inline scripts from options-interface.php
		add_action( 'admin_head', array( $this, 'of_admin_head' ) );
	}
function enqueue_admin_scripts ( $ hook ) { if ( $ this -> options_screen != $ hook ) return ; // Enqueue custom option panel JS wp_enqueue_script ( 'options-custom' , plugin_dir_url ( dirname ( __FILE__ ) ) . 'js/options-custom.js' , array ( 'jquery' , 'wp-color-picker' ) , Options_Framework :: VERSION ) ; // Inline scripts from options-interface.php add_action ( 'admin_head' , array ( $ this , 'of_admin_head' ) ) ; }
Loads the required javascript

@since 1.7.0
Loads the required javascript