Enqueue pointer styles and scripts to display them.

@since 1.0.0
553805
function admin_enqueue_assets() {
    $base_url = plugins_url( '', __FILE__ );
    wp_enqueue_style( $this->prefix, $base_url . '/pointerplus.css', array( 'wp-pointer' ) );
    wp_enqueue_script( $this->prefix, $base_url . '/pointerplus.js?var=' . str_replace( '-', '_', $this->prefix ) . '_pointerplus', array( 'wp-pointer' ) );
    wp_localize_script( $this->prefix, str_replace( '-', '_', $this->prefix ) . '_pointerplus', apply_filters( $this->prefix . '_pointerplus_js_vars', $this->pointers ) );
  }
1190419
public function enqueue() {
		parent::enqueue();

		// Enqueue selectWoo.
		wp_enqueue_script( 'selectWoo', Select::get_control_path_url() . '/assets/scripts/selectWoo/js/selectWoo.full.js', [ 'jquery' ], '1.0.1', true );
		wp_enqueue_style( 'selectWoo', Select::get_control_path_url() . '/assets/scripts/selectWoo/css/selectWoo.css', [], '1.0.1' );

		// Enqueue the custom selectWoo style.
		wp_enqueue_style( 'kirki-control-select-style', Select::get_control_path_url() . '/assets/styles/style.css', [], self::$control_ver );

		// Enqueue the script.
		wp_enqueue_script( 'kirki-control-repeater', URL::get_from_path( dirname( __DIR__ ) . '/assets/scripts/control.js' ), [ 'jquery', 'customize-base' ], self::$control_ver, false );

		// Enqueue the style.
		wp_enqueue_style( 'kirki-control-repeater-style', URL::get_from_path( dirname( __DIR__ ) . '/assets/styles/style.css' ), [], self::$control_ver );
	}
797709
protected function scripts()
    {
        $container = $this->app->make('antares.asset')->container('antares/foundation::scripts');
        $container->inlineScript('version-box', $this->inline());
    }
1208844
public function enqueue_scripts() {
		$version = \GeotFunctions\get_version();
		wp_enqueue_script( 'geot-selectize', $this->plugin_url . 'js/selectize.min.js', array( 'jquery' ), $version, false );
		wp_enqueue_script( 'geot-chosen', $this->plugin_url . 'js/chosen.jquery.min.js', array( 'jquery' ), $version, false );
		wp_enqueue_script( 'geot', $this->plugin_url . 'js/geotargeting-admin.js', array(
			'jquery',
			'geot-chosen',
			'geot-selectize',
			'jquery-ui-dialog'
		), $version, false );
		wp_localize_script( 'geot', 'geot', array(
			'ajax_url' => admin_url( 'admin-ajax.php' )
		) );
	}
1151646
public function colors_control_js() {

		$suffix = SCRIPT_DEBUG ? '' : '.min';

		wp_enqueue_script( 'rock-colors-control', get_template_directory_uri() . "/assets/js/admin/colors-control{$suffix}.js", array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), ROCK_VERSION, true );

		wp_localize_script( 'rock-colors-control', 'colorSchemes', $this->color_schemes );

	}
1187438
public function init()
    {
        add_action('admin_head', array($this, 'addJsVariables'));
        add_action('admin_enqueue_scripts', array($this, 'enqueue'));
        add_action('current_screen', function ($current_screen) {
            add_action('views_edit-' . $current_screen->post_type, array($this, 'addFilterUrlParams'));
        });
    }
1264553
public function after()
    {

        // ~ Display footer script timer
        $this->time += microtime(true);
        $style = new Style(' *** END SCRIPT - Time taken: ' . round($this->time, 2) . 's - ' . date('Y-m-d H:i:s') . ' ***');
        $style->color('fg', Style::COLOR_GREEN);

        Out::std($style->get());
    }
682532
function maybe_add_pointers() {
    // Get default pointers that we want to create
    $default_keys = $this->initial_pointers();

    // Get pointers dismissed by user
    $dismissed = explode( ',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );

    // Check that our pointers haven't been dismissed already
    $diff = array_diff_key( $default_keys, array_combine( $dismissed, $dismissed ) );

    // If we have some pointers to show, save them and start enqueuing assets to display them
    if ( !empty( $diff ) ) {
	$this->pointers = $diff;
	add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_assets' ) );

	foreach ( $diff as $pointer ) {
	  if ( isset( $pointer[ 'phpcode' ] ) ) {
	    add_action( 'admin_notices', $pointer[ 'phpcode' ] );
	  }
	}
    }
    $this->pointers[ 'l10n' ] = array( 'next' => __( 'Next' ) );
  }
539774
public function enqueue_scripts() {
		global $wp_customize;
		if ( self::$load || $wp_customize || is_customize_preview() ) {
			wp_enqueue_script( 'webfont-loader', URL::get_from_path( __DIR__ . '/assets/scripts/vendor-typekit/webfontloader.js' ), [], '3.0.28', true );
		}
	}
676687
public function enqueue_scripts( $page = '' ) {

		// Bail if not a network page.
		if ( ! in_array( $page, array( 'toplevel_page_networks', 'networks_page_add-new-network' ), true ) ) {
			return;
		}

		wp_register_style( 'wp-multi-network', wpmn()->plugin_url . 'assets/css/wp-multi-network.css', array(), wpmn()->asset_version, false );
		wp_register_script( 'wp-multi-network', wpmn()->plugin_url . 'assets/js/wp-multi-network.js', array( 'jquery', 'post' ), wpmn()->asset_version, true );

		wp_enqueue_style( 'wp-multi-network' );
		wp_enqueue_script( 'wp-multi-network' );
	}
656859
function () {
    // render stylesheets
    var precss = fs.readFileSync(__dirname + '/themes/default/styl/default.styl', 'utf8');
    stylus.render(precss, { filename: 'default.css' }, function(err, css){
      if (err) {
        throw err;
      }

      this.styles = css;
    }.bind(this));

    // collect client js (to be inined later)
    this.js = fs.readFileSync(__dirname + '/themes/default/js/default.js', 'utf8');

    // register handlebars helpers
    Handlebars.registerHelper('roundNumber', function (number) {
      return Math.round(number * Math.pow(10, 2)) / Math.pow(10, 2);
    });

    // collect & compile templates
    this.templates = {};
    this.templates.test = Handlebars.compile(fs.readFileSync(__dirname + '/themes/default/hbs/test.hbs', 'utf8'));
    this.templates.wrapper = Handlebars.compile(fs.readFileSync(__dirname + '/themes/default/hbs/wrapper.hbs', 'utf8'));
    this.templates.testresult = Handlebars.compile(fs.readFileSync(__dirname + '/themes/default/hbs/tests.hbs', 'utf8'));
    this.templates.banner = Handlebars.compile(fs.readFileSync(__dirname + '/themes/default/hbs/banner.hbs', 'utf8'));
    this.templates.detail = Handlebars.compile(fs.readFileSync(__dirname + '/themes/default/hbs/detail.hbs', 'utf8'));

    return this;
  }
349766
public function enqueue_scripts()
    {
        // Get specified jQuery version.
        $jquery_version = Config::get('theme.use_jquery_cdn');

        // if a valid jQuery version has been specified.
        if (Config::get('theme.disable_jquery') !== true
            && $jquery_version !== false
            && \version_compare($jquery_version, '0.0.1', '>=') === true
        ) {
            // get all non-deferred scripts, to check for jQuery.
            $defer_exclude_list = Config::get('theme.defer_scripts_skip');

            \wp_deregister_script('jquery');

            \wp_register_script(
                'jquery',
                "//ajax.googleapis.com/ajax/libs/jquery/{$jquery_version}/jquery.min.js",
                [],
                null,
                ( \is_array($defer_exclude_list) && \in_array('jquery', $defer_exclude_list) ) ? false : true
            );

            \wp_enqueue_script('jquery');
        }

        // Completely remove jQuery
        if (Config::get('theme.disable_jquery') === true) {
            \wp_deregister_script('jquery');
        }

        // Threaded comments JS.
        if ((! Config::get('theme.disable_comments'))
            && comments_open()
            && get_option('thread_comments')
        ) {
            wp_enqueue_script('comment-reply');
        }
    }
850725
public function _wp_enqueue_scripts() {
		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/css/wp-awesome-widgets.min.css';
		wp_enqueue_style(
			'wp-awesome-widgets',
			get_template_directory_uri() . $relative_path,
			[],
			filemtime( get_template_directory() . $relative_path )
		);

		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/js/wp-awesome-widgets.min.js';
		wp_enqueue_script(
			'wp-awesome-widgets',
			get_template_directory_uri() . $relative_path,
			[ 'jquery' ],
			filemtime( get_template_directory() . $relative_path ),
			true
		);
	}
328695
public function customize_controls_print_footer_scripts() {
		wp_enqueue_script(
			'kirki-set-setting-value',
			URL::get_from_path( __DIR__ . '/assets/scripts/set-setting-value.js' ),
			[ 'jquery' ],
			KIRKI_VERSION,
			false
		);

		wp_enqueue_script(
			'kirki-preset',
			URL::get_from_path( __DIR__ . '/assets/scripts/preset.js' ),
			[ 'jquery', 'kirki-set-setting-value' ],
			KIRKI_VERSION,
			false
		);
	}
1181715
public function styles()
    {
        $this->Boots->Enqueue
        ->style('wp-color-picker')->done()
        ->raw_style('select2')
            ->source($this->url . '/third-party/select2-3.4.5/select2.css')
            ->version('3.4.5')
            ->done()
        ->raw_style('switchery')
            ->source($this->url . '/third-party/switchery/switchery.min.css')
            ->done()
        ->raw_style('nouislider')
            ->source($this->url . '/third-party/nouislider/nouislider.css')
            ->done()
        ->raw_style('dropzone')
            ->source($this->url . '/third-party/dropzone/dropzone.min.css')
            ->version('4.0.0')
            ->done()
        ->raw_style('boots_form')
            ->source($this->url . '/css/boots_form.min.css')
            ->requires('wp-color-picker')
            ->requires('select2')
            ->requires('switchery')
            ->requires('nouislider')
            ->requires('dropzone')
            ->done();
    }
537672
public function customize_controls_enqueue_scripts() {
		$sections = Kirki::$sections;
		$panels   = Kirki::$panels;

		// Parse sections and find ones with icons.
		foreach ( $sections as $section ) {
			if ( isset( $section['icon'] ) ) {
				$this->add_icon( $section['id'], $section['icon'], 'section' );
			}
		}

		// Parse panels and find ones with icons.
		foreach ( $panels as $panel ) {
			if ( isset( $panel['icon'] ) ) {
				$this->add_icon( $panel['id'], $panel['icon'], 'panel' );
			}
		}

		wp_enqueue_script( 'kirki_panel_and_section_icons', URL::get_from_path( __DIR__ . '/icons.js' ), [ 'jquery', 'customize-base', 'customize-controls' ], KIRKI_VERSION, true );
		wp_localize_script( 'kirki_panel_and_section_icons', 'kirkiIcons', self::$icons );
	}
850209
public function enqueue_css_js() {
		$pointer_name = 'custom-post-type-permalinks-settings';
		if ( ! is_network_admin() ) {
			$dismissed = explode( ',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
			if ( false === array_search( $pointer_name, $dismissed, true ) ) {
				$content = '';
				$content .= '<h3>' . __( 'Custom Post Type Permalinks', 'custom-post-type-permalinks' ) . '</h3>';
				$content .= '<p>' . __( 'You can setting permalink for post type in <a href="options-permalink.php">Permalinks</a>.', 'custom-post-type-permalinks' ) . '</p>';

				wp_enqueue_style( 'wp-pointer' );
				wp_enqueue_script( 'wp-pointer' );
				wp_enqueue_script( 'custom-post-type-permalinks-pointer', plugins_url( 'assets/settings-pointer.js', CPTP_PLUGIN_FILE ), array( 'wp-pointer' ), CPTP_VERSION );

				wp_localize_script( 'custom-post-type-permalinks-pointer', 'CPTP_Settings_Pointer', array(
					'content' => $content,
					'name'    => $pointer_name,
				) );
			}
		}
	}