protected function enqueue( $set, $type ) {
		// go over the set to see if it has styles or scripts

		$enqueue_type = 'wp_enqueue_' . $type;

		foreach ( $set as $key => $item ) {

			if ( is_int( $key ) ) {
				$enqueue_type( $item );
				continue;
			}

			$args = $this->build_asset_args( $item );
			$enqueue_type( $key, $args['src'], $args['deps'], $args['ver'], $args['in_footer'] );

		}

	}
protected function enqueue( $set, $type ) {
		// go over the set to see if it has styles or scripts

		$enqueue_type = 'wp_enqueue_' . $type;

		foreach ( $set as $key => $item ) {

			if ( is_int( $key ) ) {
				$enqueue_type( $item );
				continue;
			}

			$args = $this->build_asset_args( $item );
			$enqueue_type( $key, $args['src'], $args['deps'], $args['ver'], $args['in_footer'] );

		}

	}
protected function enqueue ( $ set , $ type ) { // go over the set to see if it has styles or scripts $ enqueue_type = 'wp_enqueue_' . $ type ; foreach ( $ set as $ key => $ item ) { if ( is_int ( $ key ) ) { $ enqueue_type ( $ item ) ; continue ; } $ args = $ this -> build_asset_args ( $ item ) ; $ enqueue_type ( $ key , $ args [ 'src' ] , $ args [ 'deps' ] , $ args [ 'ver' ] , $ args [ 'in_footer' ] ) ; } }
enqueue a set of styles and scripts

@since 1.0.0
@access protected

@param array  $set Array of assets to be enqueued
@param string $type The type of asset
enqueue a set of styles and scripts