wordpress/wp-content/plugins/kt-tinymce-color-grid/index.php
/**
         * Enqueue JavaScript and CSS files
         * @since 1.3
         */
Enqueue JavaScript and CSS files
@since 1.3
Enqueue JavaScript and CSS files @since 1 . 3
public function enqueue_settings_scripts() {
            wp_enqueue_script(self::KEY . '_ntc', KT_CENTRAL_PALETTE_URL . "js/ntc.js", null, '1.1');
            wp_enqueue_script(self::KEY . '_common', KT_CENTRAL_PALETTE_URL . 'js/common.js', null, KT_CENTRAL_PALETTE);
            wp_enqueue_script(self::KEY . '_color', KT_CENTRAL_PALETTE_URL . 'js/color.js', null, KT_CENTRAL_PALETTE);
            wp_enqueue_script(self::KEY . '_picker', KT_CENTRAL_PALETTE_URL . 'js/picker.js', array('wp-util', 'jquery-ui-position'), KT_CENTRAL_PALETTE);
            wp_enqueue_script(self::KEY . '_editor', KT_CENTRAL_PALETTE_URL . 'js/editor.js', array('wp-util', 'postbox', 'jquery-ui-sortable'), KT_CENTRAL_PALETTE);
            wp_localize_script(self::KEY . '_editor', 'kt_central_palette_entries', $this->get_palette());
            wp_enqueue_style(self::KEY, KT_CENTRAL_PALETTE_URL . 'css/admin.css', null, KT_CENTRAL_PALETTE);
        }
public function enqueue_settings_scripts ( ) { wp_enqueue_script ( self :: KEY . '_ntc' , KT_CENTRAL_PALETTE_URL . " js/ntc.js " , null , '1.1' ) ; wp_enqueue_script ( self :: KEY . '_common' , KT_CENTRAL_PALETTE_URL . 'js/common.js' , null , KT_CENTRAL_PALETTE ) ; wp_enqueue_script ( self :: KEY . '_color' , KT_CENTRAL_PALETTE_URL . 'js/color.js' , null , KT_CENTRAL_PALETTE ) ; wp_enqueue_script ( self :: KEY . '_picker' , KT_CENTRAL_PALETTE_URL . 'js/picker.js' , array ( 'wp-util' , 'jquery-ui-position' ) , KT_CENTRAL_PALETTE ) ; wp_enqueue_script ( self :: KEY . '_editor' , KT_CENTRAL_PALETTE_URL . 'js/editor.js' , array ( 'wp-util' , 'postbox' , 'jquery-ui-sortable' ) , KT_CENTRAL_PALETTE ) ; wp_localize_script ( self :: KEY . '_editor' , 'kt_central_palette_entries' , $ this -> get_palette ( ) ) ; wp_enqueue_style ( self :: KEY , KT_CENTRAL_PALETTE_URL . 'css/admin.css' , null , KT_CENTRAL_PALETTE ) ; }
Enqueue JavaScript and CSS files
 @since 1.3
Enqueue JavaScript and CSS files @since 1 . 3
/**
             * Name that Color JavaScript
             * @author Chirag Mehta
             * @link http://chir.ag/projects/ntc/
             * @license http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5
             */