protected function enqueue_dependencies( $handles, $context = null ) {
		if ( null !== $context ) {
			$this->add_context( $context );
		}

		if ( ! $this->dependencies || count( $handles ) < 1 ) {
			return;
		}

		foreach ( $handles as $handle ) {
			$found = $this->dependencies->enqueue_handle(
				$handle,
				$this->context,
				true
			);
			if ( ! $found ) {
				$message = sprintf(
					__( 'Could not enqueue dependency "%1$s" for shortcode "%2$s".',
						'bn-shortcodes' ),
					$handle,
					$this->get_tag()
				);
				trigger_error( $message, E_USER_WARNING );
			}
		}

	}
protected function enqueue_dependencies( $handles, $context = null ) {
		if ( null !== $context ) {
			$this->add_context( $context );
		}

		if ( ! $this->dependencies || count( $handles ) < 1 ) {
			return;
		}

		foreach ( $handles as $handle ) {
			$found = $this->dependencies->enqueue_handle(
				$handle,
				$this->context,
				true
			);
			if ( ! $found ) {
				$message = sprintf(
					__( 'Could not enqueue dependency "%1$s" for shortcode "%2$s".',
						'bn-shortcodes' ),
					$handle,
					$this->get_tag()
				);
				trigger_error( $message, E_USER_WARNING );
			}
		}

	}
protected function enqueue_dependencies ( $ handles , $ context = null ) { if ( null !== $ context ) { $ this -> add_context ( $ context ) ; } if ( ! $ this -> dependencies || count ( $ handles ) < 1 ) { return ; } foreach ( $ handles as $ handle ) { $ found = $ this -> dependencies -> enqueue_handle ( $ handle , $ this -> context , true ) ; if ( ! $ found ) { $ message = sprintf ( __ ( 'Could not enqueue dependency "%1$s" for shortcode "%2$s".' , 'bn-shortcodes' ) , $ handle , $ this -> get_tag ( ) ) ; trigger_error ( $ message , E_USER_WARNING ) ; } } }
Enqueue the dependencies that the shortcode needs.

@since 0.2.9

@param array $handles Array of dependency handles to enqueue.
@param mixed $context Optional. Context in which to enqueue.
Enqueue the dependencies that the shortcode needs .